Division by zero in py-lmdb - CVE-2019-16228

 

Division by zero in py-lmdb - CVE-2019-16228

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


Vulnerability identifier: #VU35506
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-16228
CWE-ID: CWE-369
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 attacker to perform denial of service attack.

The vulnerability exists due to division by zero error when processing untrusted input 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. A remote attacker can perform denial of service attack.


How to mitigate CVE-2019-16228

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources