GitHub Advisoryadvisory · PyPI
GHSA-r8g9-w4f3-9crm LMDB invalid write
HIGH
Official page ↗
- Aliases
- CVE-2019-16226
- Ecosystem
- PyPI
- Packages
- lmdb
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-787
- Reviewed
- 2023-07-17
Affected packages
• PyPI lmdb: <= 0.97 (no fix yet)
Description
An issue was discovered in py-lmdb 0.97. `mdb_node_del` does not validate a `memmove` in the case of an unexpected `node->mn_hi`, leading to an invalid write operation.
Related
Alias · CVE (1)
- CVE-2019-16226 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-16226 advisory
- https://github.com/jnwatson/py-lmdb/issues/210 web
- https://github.com/LMDB/lmdb/blob/mdb.master/libraries/liblmdb/mdb.c#L8443-L8498 web
- https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memory%20corruption%20vuln web
- https://github.com/jnwatson/py-lmdb package
- https://github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-238.yaml web
- https://pypi.org/project/lmdb web