{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-2421","id":"CVE-2022-2421","title":"Socket.io - Improper type validation in attachment parsing","description":"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.","descriptionLong":"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":"2022-10-25T00:00:00.000Z","updated":"2026-10-28T02:30:38.132261199Z","reserved":"2022-07-15T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"DIVD","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"DIVD"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"DIVD"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"divd.nl"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Socket.io-Parser"],"affectedProducts":[{"vendor":"Socket.io","product":"Socket.io-Parser","defaultStatus":null,"versions":[{"status":"affected","version":"4.x","lessThan":"4.2.1","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"socket.io-parser","purl":"pkg:npm/socket.io-parser","ranges":[">=4.0.0 <4.0.5",">=4.1.0 <4.2.1","<3.3.3",">=3.4.0 <3.4.2"],"fixed":["4.0.5","4.2.1","3.3.3","3.4.2"],"advisory":"GHSA-qm95-pgcg-qqfq"}],"cwes":["CWE-89","CWE-1287","CWE-20"],"aliases":["GHSA-qm95-pgcg-qqfq"],"references":[{"url":"https://csirt.divd.nl/CVE-2022-2421","tags":["third-party-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://csirt.divd.nl/DIVD-2022-00045","tags":["third-party-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2421.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2421","tags":["advisory"]},{"url":"https://github.com/socketio/socket.io-parser/commit/04d23cecafe1b859fb03e0cbf6ba3b74dff56d14","tags":["web"]},{"url":"https://github.com/socketio/socket.io-parser/commit/b559f050ee02bd90bd853b9823f8de7fa94a80d4","tags":["web"]},{"url":"https://github.com/socketio/socket.io-parser/commit/b5d0cb7dc56a0601a09b056beaeeb0e43b160050","tags":["web"]},{"url":"https://github.com/socketio/socket.io-parser/commit/fb21e422fc193b34347395a33e0f625bebc09983","tags":["web"]},{"url":"https://csirt.divd.nl/cases/DIVD-2022-00045","tags":["web"]},{"url":"https://csirt.divd.nl/cves/CVE-2022-2421","tags":["web"]},{"url":"https://github.com/socketio/socket.io-parser","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.01441,"epssPercentile":0.73767,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-2421","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2421","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-2421","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qm95-pgcg-qqfq","ok":true,"note":"GHSA-qm95-pgcg-qqfq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-2421","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}