{"answers":{"affected":"6 open source packages ship an affected version, including socket.io-parser. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-32695 in the wild and no public exploit code.","fix":"Upgrade socket.io-parser to a fixed version for your release line: 3.3.4, 3.4.3 or 4.2.3.","what":"CVE-2023-32695 is a high-severity denial of service vulnerability in socketio socket.io-parser, published on 27 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-32695 and fix it if it is affected.\n\nWhat it is: CVE-2023-32695 is a high-severity denial of service vulnerability in socketio socket.io-parser, published on 27 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-32695 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- socket.io-parser (npm): affected all versions; fixed in 3.3.4\n- socket.io-parser (npm): affected all versions; fixed in 3.3.4\n- socket.io-parser (npm): affected from 3.4.0; fixed in 3.4.3\n- socket.io-parser (npm): affected from 3.4.0; fixed in 3.4.3\n- socket.io-parser (npm): affected from 4.0.4; fixed in 4.2.3\n- socket.io-parser (npm): affected from 4.0.4; fixed in 4.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-32695/ (Markdown: https://insights.sbomify.com/CVE-2023-32695/index.md)","id":"CVE-2023-32695","markdown":"https://insights.sbomify.com/CVE-2023-32695/index.md","name":"CVE-2023-32695","record":{"aliases":["DEBIAN-CVE-2023-32695","GHSA-cqmj-92xf-r6r9","ROOT-APP-NPM-CVE-2023-32695","UBUNTU-CVE-2023-32695"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Socket.IO parser library","requires_auth":"none","summary":"A specially crafted Socket.IO packet causes an uncaught exception, crashing the Node.js server process.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"socket.io-parser","vendor":"socket"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Insufficient validation when decoding a Socket.IO packet","id":"CVE-2023-32695","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":6,"n_references":4,"next":{"headline":"Excessive permissions for ckan user","id":"CVE-2023-32696"},"packages":[{"ecosystem":"npm","fixed":["3.3.4"],"introduced":["0"],"last_affected":[],"package":"socket.io-parser","purl":null,"source":"GHSA-cqmj-92xf-r6r9"},{"ecosystem":"npm","fixed":["3.3.4"],"introduced":["0"],"last_affected":[],"package":"socket.io-parser","purl":"pkg:npm/socket.io-parser","source":"GHSA-cqmj-92xf-r6r9"},{"ecosystem":"npm","fixed":["3.4.3"],"introduced":["3.4.0"],"last_affected":[],"package":"socket.io-parser","purl":null,"source":"GHSA-cqmj-92xf-r6r9"},{"ecosystem":"npm","fixed":["3.4.3"],"introduced":["3.4.0"],"last_affected":[],"package":"socket.io-parser","purl":"pkg:npm/socket.io-parser","source":"GHSA-cqmj-92xf-r6r9"},{"ecosystem":"npm","fixed":["4.2.3"],"introduced":["4.0.4"],"last_affected":[],"package":"socket.io-parser","purl":null,"source":"GHSA-cqmj-92xf-r6r9"},{"ecosystem":"npm","fixed":["4.2.3"],"introduced":["4.0.4"],"last_affected":[],"package":"socket.io-parser","purl":"pkg:npm/socket.io-parser","source":"GHSA-cqmj-92xf-r6r9"}],"prev":{"headline":"Non-constant time HMAC comparison in Adyen plugin in Saleor","id":"CVE-2023-32694"},"products":["socket.io-parser"],"published":"2023-05-27","related":[{"cvss_score":10,"headline":"Socket.io - Improper type validation in attachment parsing","id":"CVE-2022-2421","kev_date_added":null,"published":"2022-10-25"},{"cvss_score":8.7,"headline":"socket.io allows an unbounded number of binary attachments","id":"CVE-2026-33151","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":7.5,"headline":"Resource exhaustion in socket.io-parser","id":"CVE-2020-36049","kev_date_added":null,"published":"2021-01-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-13","vendors":["socketio"]},"summary":"A specially crafted Socket.IO packet causes an uncaught exception, crashing the Node.js server process.","url":"https://insights.sbomify.com/CVE-2023-32695/"}