This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.
[
{
"source": "https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d",
"target": {
"function": "NAN_METHOD",
"file": "src/xml_document.cc"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-21144-88512d45",
"digest": {
"length": 2195.0,
"function_hash": "107727053438835856466343391473296274860"
}
},
{
"source": "https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d",
"target": {
"function": "NAN_METHOD",
"file": "src/xml_document.cc"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-21144-8a89c841",
"digest": {
"length": 1991.0,
"function_hash": "136495662352428680651636031310365647788"
}
},
{
"source": "https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d",
"target": {
"file": "src/xml_document.cc"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-21144-fe153aa8",
"digest": {
"threshold": 0.9,
"line_hashes": [
"249851446725122353917134027082104187227",
"22987054179427781354923844765744493052",
"92194844220785061289742511096799865613",
"103842121778067350803698352097324791962",
"332784255652129248409588464678968976521",
"118809179461203962188333144776721377647",
"45923624500783531127707131557921849567",
"59052600784026491515100570822628383145",
"206601563682319210915043524735815572577",
"106256515466840548357998428534562107609",
"72138142820922648892957219895867383571",
"37960217532412656122514148666667480580",
"189025941815283442878199660578987685468",
"252111081753236280706835628782424485411",
"195484571969083763760934305661801188029",
"209151954169205677479930319915944360268",
"102790475236216434001478899527197655571",
"292101194238850167358375657424650220425",
"320837122313242282543495271834571493611",
"237463097973166374882058319490188168492",
"325800957678461270556465086366463336358",
"72138142820922648892957219895867383571"
]
}
}
]