Bug 1786639 (CVE-2019-16227) - CVE-2019-16227 python-lmdb: out-of-bounds write in mdb_xcursor_init1 in lib/mdb.c
Summary: CVE-2019-16227 python-lmdb: out-of-bounds write in mdb_xcursor_init1 in lib/m...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2019-16227
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: 1786642 1786641
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-26 17:31 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:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-12-26 17:31:26 UTC
An issue was discovered in py-lmdb 0.97. For certain values of mn_flags, mdb_cursor_set triggers a memcpy with an invalid write operation within mdb_xcursor_init1. NOTE: this outcome occurs when accessing a data.mdb file supplied by an attacker.

Reference:
https://github.com/TeamSeri0us/pocs/tree/master/lmdb/lmdb%20memcpy%20illegal%20dst

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

Affects: epel-all [bug 1786642]
Affects: fedora-all [bug 1786641]

Comment 2 Product Security DevOps Team 2019-12-26 20:09:28 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.