Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lmdb
  4. ›
  5. CVE-2019-16224

CVE-2019-16224: py-lmdb Invalid write operation

May 24, 2022 (updated September 30, 2024)

An issue was discovered in py-lmdb 0.97. For certain values of md_flags, mdb_node_add does not properly set up a memcpy destination, leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

References

  • github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20initialization%20vuln
  • github.com/advisories/GHSA-9q62-r72g-pvv7
  • github.com/jnwatson/py-lmdb
  • github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-236.yaml
  • nvd.nist.gov/vuln/detail/CVE-2019-16224
  • pypi.org/project/lmdb

Code Behaviors & Features

Detect and mitigate CVE-2019-16224 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.97

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

pypi/lmdb/CVE-2019-16224.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.