Buffer overflow in py-lmdb - CVE-2019-16225

 

Buffer overflow in py-lmdb - CVE-2019-16225

Published: September 11, 2019 / Updated: August 8, 2020


Vulnerability identifier: #VU35503
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2019-16225
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: jnwatson (Nic Watson)
Affected software:
py-lmdb

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


How to mitigate CVE-2019-16225

Install update from vendor's website.

Sources