CVE-2019-16225
Py-lmdb Project Py-lmdb vulnerability
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.
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%20write%20to%20illegal%20address · Exploit
- nvd.nist.gov/vuln/detail/CVE-2019-16225
- github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-237.yaml
- pypi.org/project/lmdb
- github.com/advisories/GHSA-c74c-p4p7-r8q5
- nvd.nist.gov/vuln/detail/CVE-2019-16225
- cve.org/CVERecord?id=CVE-2019-16225
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.