Unauthenticated server crash via invalid event names
Published May 27, 2023 · Updated Jan 13, 2025
Improper input validation in Socket.IO socket.io-parser 3.4.0 through 3.4.2 and 4.0.4 through 4.2.2 allows remote attackers to crash the server. Decoder.isPayloadValid accepts any nonempty event array without requiring its first element to be a string or number, so an object can reach event-name handling. An unauthenticated Socket.IO client can supply an object with an invalid string conversion, causing EventEmitter coercion to throw an uncaught TypeError and terminate the Node.js process.
Summary
What happened
Improper input validation in Socket.IO socket.io-parser 3.4.0 through 3.4.2 and 4.0.4 through 4.2.2 allows remote attackers to crash the server. Decoder.isPayloadValid accepts any nonempty event array without requiring its first element to be a string or number, so an object can reach event-name handling. An unauthenticated Socket.IO client can supply an object with an invalid string conversion, causing EventEmitter coercion to throw an uncaught TypeError and terminate the Node.js process.
The record
- CVE
- CVE-2023-32695
- Published
- May 27, 2023
- Updated
- Jan 13, 2025
- Vendor
- Socket.IO
- Product
- socket.io-parser
- Classifications
- CWE-754, CWE-20, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 27, 2023CVE publishedPublication date reported by the CVE source.
- Jan 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 3.4.0, < 3.4.3
- Affected versionversion=>= 4.0.0, < 4.2.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream invalid event-name regression caseproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo