The package node-lmdb before 0.9.7 are vulnerable to Denial of Service (DoS) when defining a non-invokable ToString value, which will cause a crash during type check.
[
{
"source": "https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-21164-04b2a102",
"target": {
"file": "src/txn.cpp"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7895156110730293289671560245138811086",
"108320994744204762953214035436821145082",
"209527662274143032484104602345091571488",
"123988090088222035339782190483665560261"
]
}
},
{
"source": "https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-21164-2f51e2cb",
"target": {
"function": "NAN_METHOD",
"file": "src/txn.cpp"
},
"signature_type": "Function",
"digest": {
"length": 294.0,
"function_hash": "183609526602319647622695542365969939421"
}
}
]