CVE-2019-16227
Py-lmdb Project Py-lmdb vulnerability
An issue was discovered in py-lmdb 0.97. For certain values of mn_flags, mdb_cursor_set triggers a memcpy with an invalid write operation within mdb_xcursor_init1. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Py-lmdb. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Py-lmdb Project Py-lmdb runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memcpy%20illegal%20dst · Exploit
- nvd.nist.gov/vuln/detail/CVE-2019-16227
- github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-239.yaml
- pypi.org/project/lmdb
- github.com/advisories/GHSA-pf3p-v9xp-mrvf
- nvd.nist.gov/vuln/detail/CVE-2019-16227
- cve.org/CVERecord?id=CVE-2019-16227
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.