Security mailing lists by PureSourceCode

CVE-2022-2421

CRITICAL 9.8CVSS 3.1

Insufficient validation when decoding a Socket.IO packet

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.

Published
26 Oct 2022
Last modified
17 Jun 2026
Assigned by
csirt@divd.nl
NVD status
Analyzed
Weakness
CWE-1287CWE-20CWE-89
Also known as
GHSA-qm95-pgcg-qqfq
Sources
NVDJSONOSV GHSA-qm95-pgcg-qqfqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD csirt@divd.nl (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD socket socket.io-parser
cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*
< 3.3.3 3.3.3
NVD socket socket.io-parser
cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*
>= 3.4.0, < 3.4.2 3.4.2
NVD socket socket.io-parser
cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.0.5 4.0.5
NVD socket socket.io-parser
cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*
>= 4.1.0, < 4.2.1 4.2.1
OSV npm socket.io-parser >= 4.0.0, < 4.0.5 4.0.5
OSV npm socket.io-parser >= 4.1.0, < 4.2.1 4.2.1
OSV npm socket.io-parser < 3.3.3 3.3.3
OSV npm socket.io-parser >= 3.4.0, < 3.4.2 3.4.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Oct 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.