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

 

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

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


Vulnerability identifier: #VU35504
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-16226
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 perform a denial of service (DoS) attack.

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. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.


How to mitigate CVE-2019-16226

Install update from vendor's website.

Sources