Bug 1797072 (CVE-2019-20387)

Summary: CVE-2019-20387 libsolv: out-of-bounds read in repodata_schema2id in repodata.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bbuckingham, bcourt, bkearney, btotty, dmach, hhudgeon, igor.raits, jmracek, jrohel, lzap, mcermak, mmccune, ngompa13, pkratoch, rchan, rjerrido, rpm-software-management, sokeeffe
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libsolv 0.7.6 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read was discovered in Libsolv when the last schema has a length that is less than the length of the input schema. A remote attacker may abuse this flaw to crash an application that uses Libsolv.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:24:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1802069, 1802070, 1802071, 1807939    
Bug Blocks: 1797073    

Description Guilherme de Almeida Suckevicz 2020-01-31 20:24:05 UTC
repodata_schema2id in repodata.c in libsolv before 0.7.6 has a heap-based buffer over-read via a last schema whose length is less than the length of the input schema.

Reference and upstream commit:
https://github.com/openSUSE/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da

Comment 3 errata-xmlrpc 2020-11-04 01:34:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4508 https://access.redhat.com/errata/RHSA-2020:4508

Comment 4 Product Security DevOps Team 2020-11-04 02:24:08 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-20387