GitHub Advisoryadvisory · PyPI
GHSA-c74c-p4p7-r8q5 py-lmdb Invalid write operation
CRITICAL
Official page ↗
- Aliases
- CVE-2019-16225
- Ecosystem
- PyPI
- Packages
- lmdb
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-787
- Reviewed
- 2024-04-22
Affected packages
• PyPI lmdb: <= 0.97 (no fix yet)
Description
An issue was discovered in py-lmdb 0.97. For certain values of `mp_flags`, `mdb_page_touch `does not properly set up `mc->mc_pg[mc->top]`, leading to an invalid write operation. NOTE: this outcome occurs when accessing a `data.mdb` file supplied by an attacker.
Related
Alias · CVE (1)
- CVE-2019-16225 An issue was discovered in py-lmdb 0.97. vulnerability
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-16225 advisory
- https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20write%20to%20illegal%20address web
- https://github.com/jnwatson/py-lmdb package
- https://github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-237.yaml web
- https://pypi.org/project/lmdb web