CVE-2022-21164

Source
https://cve.org/CVERecord?id=CVE-2022-21164
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21164.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21164
Aliases
Published
2022-03-16T15:25:13Z
Modified
2026-08-12T12:59:15Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P CVSS Calculator
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.

Database specific
{
    "cna_assigner":  "snyk",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21164.json"
}
References

Affected packages

Git / github.com/venemo/node-lmdb

Affected ranges

Type
GIT
Repo
https://github.com/venemo/node-lmdb
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:node-lmdb_project:node-lmdb:*:*:*:*:*:node.js:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "0.9.7"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.2.0
v0.6.2
v0.7.0
v0.9.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21164.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "7895156110730293289671560245138811086",
                "108320994744204762953214035436821145082",
                "209527662274143032484104602345091571488",
                "123988090088222035339782190483665560261"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2022-21164-04b2a102",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/venemo/node-lmdb/commit/97760104c0fd311206b88aecd91fa1f59fe2b85a",
        "target":  {
            "file":  "src/txn.cpp"
        }
    },
    {
        "deprecated":  false,
        "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"
        }
    }
]
vanir_signatures_modified
"2026-08-12T12:59:15Z"