{"id":"CVE-2022-21164","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"],"modified":"2026-04-12T05:17:06.196741Z","published":"2022-03-16T16:15:10.800Z","related":["SNYK-JS-NODELMDB-2400723"],"references":[{"type":"FIX","url":"https://github.com/Venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JS-NODELMDB-2400723"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/venemo/node-lmdb","events":[{"introduced":"0"},{"fixed":"b83d7dce9307762a7299d74c37b411fb9a77e05a"},{"fixed":"97760104c0fd311206b88aecd91fa1f59fe2b85a"}],"database_specific":{"cpe":"cpe:2.3:a:node-lmdb_project:node-lmdb:*:*:*:*:*:node.js:*:*","source":["CPE_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.9.7"}]}}],"versions":["v0.2.0","v0.6.2","v0.7.0","v0.9.6"],"database_specific":{"vanir_signatures":[{"signature_version":"v1","signature_type":"Line","digest":{"line_hashes":["7895156110730293289671560245138811086","108320994744204762953214035436821145082","209527662274143032484104602345091571488","123988090088222035339782190483665560261"],"threshold":0.9},"source":"https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a","deprecated":false,"target":{"file":"src/txn.cpp"},"id":"CVE-2022-21164-04b2a102"},{"signature_version":"v1","signature_type":"Function","digest":{"length":294,"function_hash":"183609526602319647622695542365969939421"},"source":"https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a","deprecated":false,"target":{"file":"src/txn.cpp","function":"NAN_METHOD"},"id":"CVE-2022-21164-2f51e2cb"}],"vanir_signatures_modified":"2026-04-12T05:17:06Z","source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-21164.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}