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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21164.json",
"cna_assigner": "snyk"
}{
"cpe": "cpe:2.3:a:node-lmdb_project:node-lmdb:*:*:*:*:*:node.js:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "0.9.7"
}
]
}
[
{
"id": "CVE-2022-21164-04b2a102",
"target": {
"file": "src/txn.cpp"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"7895156110730293289671560245138811086",
"108320994744204762953214035436821145082",
"209527662274143032484104602345091571488",
"123988090088222035339782190483665560261"
]
},
"signature_version": "v1",
"source": "https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a",
"signature_type": "Line"
},
{
"id": "CVE-2022-21164-2f51e2cb",
"target": {
"function": "NAN_METHOD",
"file": "src/txn.cpp"
},
"deprecated": false,
"digest": {
"function_hash": "183609526602319647622695542365969939421",
"length": 294.0
},
"signature_version": "v1",
"source": "https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a",
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21164.json"
"2026-08-12T12:59:15Z"