Bug 1777863 (CVE-2019-16224)

Summary: CVE-2019-16224 python-lmdb: out-of-bounds write when setting a wrong value of field md_flag
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: pspacek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-28 19:04:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1777866, 1777864, 1777865    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2019-11-28 14:12:08 UTC
An issue was discovered in py-lmdb 0.97. For certain values of md_flags, mdb_node_add does not properly set up a memcpy destination, leading to an invalid write operation. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.


Comment 1 Guilherme de Almeida Suckevicz 2019-11-28 14:12:25 UTC
Created python-lmdb tracking bugs for this issue:

Affects: epel-6 [bug 1777865]
Affects: epel-7 [bug 1777866]
Affects: fedora-all [bug 1777864]

Comment 2 Product Security DevOps Team 2019-11-28 19:04:51 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.