Vulnerabilites related to Socket.io - Socket.io-Parser
cve-2022-2421
Vulnerability from cvelistv5
Published
2022-10-25 00:00
Modified
2025-03-11 13:40
Severity ?
EPSS score ?
Summary
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.
References
▼ | URL | Tags |
---|---|---|
https://csirt.divd.nl/CVE-2022-2421 | third-party-advisory | |
https://csirt.divd.nl/DIVD-2022-00045 | third-party-advisory |
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
Socket.io | Socket.io-Parser |
Version: 4.x < 4.2.1 |
{ containers: { adp: [ { providerMetadata: { dateUpdated: "2024-08-03T00:39:07.623Z", orgId: "af854a3a-2127-422b-91ae-364da2661108", shortName: "CVE", }, references: [ { tags: [ "third-party-advisory", "x_transferred", ], url: "https://csirt.divd.nl/CVE-2022-2421", }, { tags: [ "third-party-advisory", "x_transferred", ], url: "https://csirt.divd.nl/DIVD-2022-00045", }, ], title: "CVE Program Container", }, { metrics: [ { other: { content: { id: "CVE-2022-2421", options: [ { Exploitation: "none", }, { Automatable: "yes", }, { "Technical Impact": "total", }, ], role: "CISA Coordinator", timestamp: "2024-11-20T14:40:01.867350Z", version: "2.0.3", }, type: "ssvc", }, }, ], providerMetadata: { dateUpdated: "2024-11-20T14:40:37.172Z", orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0", shortName: "CISA-ADP", }, title: "CISA ADP Vulnrichment", }, ], cna: { affected: [ { product: "Socket.io-Parser", vendor: "Socket.io", versions: [ { lessThan: "4.2.1", status: "affected", version: "4.x", versionType: "custom", }, ], }, ], credits: [ { lang: "en", type: "finder", user: "00000000-0000-4000-9000-000000000000", value: "Thomas Rinsma (Codean)", }, { lang: "en", type: "analyst", value: "Victor Pasman (DIVD)", }, { lang: "en", type: "analyst", value: "Frank Breedijk (DIVD)", }, ], datePublic: "2022-10-24T22:00:00.000Z", descriptions: [ { lang: "en", supportingMedia: [ { base64: false, type: "text/html", value: "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.", }, ], value: "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.", }, ], metrics: [ { cvssV3_1: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "HIGH", baseScore: 10, baseSeverity: "CRITICAL", confidentialityImpact: "HIGH", integrityImpact: "HIGH", privilegesRequired: "NONE", scope: "CHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", version: "3.1", }, format: "CVSS", scenarios: [ { lang: "en", value: "GENERAL", }, ], }, ], problemTypes: [ { descriptions: [ { cweId: "CWE-89", description: "CWE-89 SQL Injection", lang: "en", type: "CWE", }, ], }, ], providerMetadata: { dateUpdated: "2025-03-11T13:40:55.218Z", orgId: "b87402ff-ae37-4194-9dae-31abdbd6f217", shortName: "DIVD", }, references: [ { tags: [ "third-party-advisory", ], url: "https://csirt.divd.nl/CVE-2022-2421", }, { tags: [ "third-party-advisory", ], url: "https://csirt.divd.nl/DIVD-2022-00045", }, ], source: { advisory: "DIVD-2022-00045", discovery: "EXTERNAL", }, title: "Socket.io - Improper type validation in attachment parsing", x_generator: { engine: "Vulnogram 0.0.9", }, }, }, cveMetadata: { assignerOrgId: "b87402ff-ae37-4194-9dae-31abdbd6f217", assignerShortName: "DIVD", cveId: "CVE-2022-2421", datePublished: "2022-10-25T00:00:00", dateReserved: "2022-07-15T00:00:00", dateUpdated: "2025-03-11T13:40:55.218Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", }