Skip to main content
← All vulnerabilities
CVE-2022-2421GHSA-QM95-PGCG-QQFQ

Socket.io - Improper type validation in attachment parsing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.1, 4.0.5, 3.3.3, 3.4.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Socket.io Socket.io-Parser

    From 4.x · fixed in 4.2.1

  • socket.io-parsernpm

    From 4.0.0 · fixed in 4.0.5

  • socket.io-parsernpm

    From 4.1.0 · fixed in 4.2.1

  • socket.io-parsernpm

    fixed in 3.3.3

  • socket.io-parsernpm

    From 3.4.0 · fixed in 3.4.2

References 2

csirt.divd.nl