Every CVE Search/ Get API key

CVE-2023-32695

Insufficient validation when decoding a Socket.IO packet

7.3 HighFix available

socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

1.06%Up 1.0 points since May 28, 2023
90%50%10%1%

What each source reports

CVE List Score used 7.3

Insufficient validation when decoding a Socket.IO packet

socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.

Record
CVE-2023-32695
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-20
Updated
2026-11-02
EUVDEUVD-2023-1528 7.3

socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.

Record
EUVD-2023-1528
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-cqmj-92xf-r6r9 6.9

Insufficient validation when decoding a Socket.IO packet

Impact

A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process.

TypeError: Cannot convert object to primitive value
       at Socket.emit (node:events:507:25)
       at .../node_modules/socket.io/lib/socket.js:531:14

Patches

A fix has been released today (2023/05/22):

Another fix has been released for the 3.3.x branch:

| socket.io version | socket.io-parser version | Needs minor update? | |---------------------|---------------------------------------------------------------------------------------------------------|--------------------------------------| | 4.5.2...latest | ~4.2.0 (ref) | npm audit fix should be sufficient | | 4.1.3...4.5.1 | ~4.1.1 (ref) | Please upgrade to [email protected] | | 3.0.5...4.1.2 | ~4.0.3 (ref) | Please upgrade to [email protected] | | 3.0.0...3.0.4 | ~4.0.1 (ref) | Please upgrade to [email protected] | | 2.3.0...2.5.0 | ~3.4.0 (ref) | npm audit fix should be sufficient |

Workarounds

There is no known workaround except upgrading to a safe version.

For more information

If you have any questions or comments about this advisory:

  • Open a discussion here

Thanks to @rafax00 for the responsible disclosure.

Record
GHSA-cqmj-92xf-r6r9
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-20, CWE-754
Updated
2026-11-02
NVD 7.3

socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.

Record
CVE-2023-32695
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-20, CWE-754
Updated
2026-11-02
OSV 7.3

Insufficient validation when decoding a Socket.IO packet

socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.

Record
CVE-2023-32695
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-20
Updated
2026-11-02
OSVDEBIAN-CVE-2023-32695 7.5

socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.

Record
DEBIAN-CVE-2023-32695
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVGHSA-cqmj-92xf-r6r9 6.9

Insufficient validation when decoding a Socket.IO packet

Impact

A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process.

TypeError: Cannot convert object to primitive value
       at Socket.emit (node:events:507:25)
       at .../node_modules/socket.io/lib/socket.js:531:14

Patches

A fix has been released today (2023/05/22):

Another fix has been released for the 3.3.x branch:

| socket.io version | socket.io-parser version | Needs minor update? | |---------------------|---------------------------------------------------------------------------------------------------------|--------------------------------------| | 4.5.2...latest | ~4.2.0 (ref) | npm audit fix should be sufficient | | 4.1.3...4.5.1 | ~4.1.1 (ref) | Please upgrade to [email protected] | | 3.0.5...4.1.2 | ~4.0.3 (ref) | Please upgrade to [email protected] | | 3.0.0...3.0.4 | ~4.0.1 (ref) | Please upgrade to [email protected] | | 2.3.0...2.5.0 | ~3.4.0 (ref) | npm audit fix should be sufficient |

Workarounds

There is no known workaround except upgrading to a safe version.

For more information

If you have any questions or comments about this advisory:

  • Open a discussion here

Thanks to @rafax00 for the responsible disclosure.

Record
GHSA-cqmj-92xf-r6r9
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-20, CWE-754
Updated
2026-11-02
OSVUBUNTU-CVE-2023-32695 7.3

socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.

Record
UBUNTU-CVE-2023-32695
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1772496675 No score

TuxCare security update for socket.io-parser (3 CVEs)

TuxCare rebuilt socket.io-parser to address 3 CVEs. Fixed in 3.2.0-tuxcare.1.

Record
CLSA-2026-1772496675
Updated
2026-11-02
OSVCLSA-2026-1791899634 No score

TuxCare security update for socket.io-parser (5 CVEs)

TuxCare rebuilt socket.io-parser to address 5 CVEs. Fixed in 2.3.1-tuxcare.1.

Record
CLSA-2026-1791899634
Updated
2026-11-02
OSVCLSA-2026-1792599106 No score

TuxCare security update for socket.io-parser (5 CVEs)

TuxCare rebuilt socket.io-parser to address 5 CVEs. Fixed in 2.2.2-tuxcare.1.

Record
CLSA-2026-1792599106
Updated
2026-11-02
OSVCLSA-2026-1792665531 No score

TuxCare security update for socket.io-parser (5 CVEs)

TuxCare rebuilt socket.io-parser to address 5 CVEs. Fixed in 2.2.4-tuxcare.1.

Record
CLSA-2026-1792665531
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2023-32695 No score

CVE-2023-32695 in @rootio/socket.io-parser - Patched by Root

Root has patched CVE-2023-32695 in the @rootio/socket.io-parser package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2023-32695
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
socket.io-parser
npm
3.4.0 up to 3.4.3
3.4.3
socket.io-parser
npm
4.0.4 up to 4.2.3
4.2.3
socket.io-parser
npm
before 3.3.4
3.3.4
socket.io-parser
TuxCare:npm
From an advisory covering 3 CVEs
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions
3.2.0
3.2.0-tuxcare.1
socket.io-parser
TuxCare:npm
From an advisory covering 5 CVEs
2.3.1-tuxcare.0 up to 2.3.1-tuxcare.1, plus listed versions
2.3.1
2.3.1-tuxcare.1
socket.io-parser
TuxCare:npm
From an advisory covering 5 CVEs
2.2.2-tuxcare.0 up to 2.2.2-tuxcare.1, plus listed versions
2.2.2
2.2.2-tuxcare.1
socket.io-parser
TuxCare:npm
From an advisory covering 5 CVEs
2.2.4-tuxcare.0 up to 2.2.4-tuxcare.1, plus listed versions
2.2.4
2.2.4-tuxcare.1
node-socket.io-parser
Debian:12
before 4.2.1+~3.1.0-2
4.2.1+~3.1.0-2
node-socket.io-parser
Debian:13
before 4.2.1+~3.1.0-2
4.2.1+~3.1.0-2
node-socket.io-parser
Debian:14
before 4.2.1+~3.1.0-2
4.2.1+~3.1.0-2
Show 6 moreShow less
Affected packages
PackageAffectedFixed
@rootio/socket.io-parser
Root:npm
before 4.0.5-root.io.1
4.0.5-root.io.14.0.5-root.io.2
socket.io-parser
Root:npm
before 4.0.5-aikido.2
4.0.5-aikido.2
node-socket.io-parser
Ubuntu:18.04:LTS
All versions, plus listed versions
2.3.1-1
None known
node-socket.io-parser
Ubuntu:20.04:LTS
All versions, plus listed versions
3.3.0-13.4.0-1
None known
node-socket.io-parser
Ubuntu:22.04:LTS
All versions, plus listed versions
4.0.2-14.1.1+~3.0.0-14.1.2+~3.0.0-1
None known
node-socket.io-parser
Ubuntu:24.04:LTS
All versions, plus listed versions
4.2.1+~3.1.0-3
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-32695 is a high vulnerability (CVSS 7.3) in Socket Socket.io-parser, published May 23, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.06%, the 64th percentile. Fixed in socket.io-parser 3.4.3.

References

Show 7 moreShow less
MoveEnter Open