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.
{
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "4.x"
},
{
"fixed": "4.2.1"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2421.json",
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "DIVD"
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.3.3"
},
{
"introduced": "3.4.0"
},
{
"fixed": "3.4.2"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.5"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.2.1"
}
]
}