CVE-2019-16228
Py-lmdb Project Py-lmdb vulnerability
An issue was discovered in py-lmdb 0.97. There is a divide-by-zero error in the function mdb_env_open2 if mdb_env_read_header obtains a zero value for a certain size field. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.
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/FPE · Exploit
- nvd.nist.gov/vuln/detail/CVE-2019-16228
- github.com/pypa/advisory-database/tree/main/vulns/lmdb/PYSEC-2019-240.yaml
- pypi.org/project/lmdb
- github.com/advisories/GHSA-ggwq-vrgp-6gv4
- nvd.nist.gov/vuln/detail/CVE-2019-16228
- cve.org/CVERecord?id=CVE-2019-16228
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.