Bug 1786634 (CVE-2019-16226) - CVE-2019-16226 python-lmdb: out-of-bounds write in mdb_node_del in lib/mdb.c
Summary: CVE-2019-16226 python-lmdb: out-of-bounds write in mdb_node_del in lib/mdb.c
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2019-16226
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1786636 1786635
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-26 17:09 UTC by Guilherme de Almeida Suckevicz
Modified: 2019-12-26 20:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-26 20:09:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-12-26 17:09:28 UTC
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.

Reference:
https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memory%20corruption%20vuln

Comment 1 Guilherme de Almeida Suckevicz 2019-12-26 17:10:09 UTC
Created python-lmdb tracking bugs for this issue:

Affects: epel-all [bug 1786636]
Affects: fedora-all [bug 1786635]

Comment 2 Product Security DevOps Team 2019-12-26 20:09:26 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.