Bug 1797072 (CVE-2019-20387) - CVE-2019-20387 libsolv: out-of-bounds read in repodata_schema2id in repodata.c
Summary: CVE-2019-20387 libsolv: out-of-bounds read in repodata_schema2id in repodata.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-20387
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: 1802069 1802070 1802071 1807939
Blocks: 1797073
TreeView+ depends on / blocked
 
Reported: 2020-01-31 20:24 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-12-14 18:47 UTC (History)
18 users (show)

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.
Clone Of:
Environment:
Last Closed: 2020-11-04 02:24:08 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4508 0 None None None 2020-11-04 01:34:47 UTC

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


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