{"id":"CVE-2022-21164","summary":"Denial of Service (DoS)","details":"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.","aliases":["GHSA-32j9-6qqm-mq9g","SNYK-JS-NODELMDB-2400723"],"modified":"2026-08-12T12:59:15.861949Z","published":"2022-03-16T15:25:13.291Z","database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21164.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21164.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21164"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-NODELMDB-2400723"},{"type":"FIX","url":"https://github.com/Venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/venemo/node-lmdb","events":[{"introduced":"0"},{"fixed":"b83d7dce9307762a7299d74c37b411fb9a77e05a"},{"fixed":"97760104c0fd311206b88aecd91fa1f59fe2b85a"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:node-lmdb_project:node-lmdb:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.9.7"}]}}],"versions":["v0.9.6","v0.7.0","v0.6.2","v0.2.0"],"database_specific":{"vanir_signatures_modified":"2026-08-12T12:59:15Z","vanir_signatures":[{"target":{"file":"src/txn.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["7895156110730293289671560245138811086","108320994744204762953214035436821145082","209527662274143032484104602345091571488","123988090088222035339782190483665560261"]},"id":"CVE-2022-21164-04b2a102","signature_type":"Line","signature_version":"v1","source":"https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a"},{"digest":{"function_hash":"183609526602319647622695542365969939421","length":294},"id":"CVE-2022-21164-2f51e2cb","signature_type":"Function","signature_version":"v1","source":"https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a","target":{"file":"src/txn.cpp","function":"NAN_METHOD"},"deprecated":false}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21164.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P"}]}