CVE-2019-20387 Memory corruption in n/a

High 7.5 Published Updated

A heap-based buffer over-read in libsolv allows attackers to cause denial of service or disclose sensitive memory contents via crafted repository data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-20387?

CVE-2019-20387 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 21 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2019-20387?

It affects 2 products.

Linux distribution packages (9)
libsolv Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8
libsolv-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8
libsolv-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8
libsolv-demo-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8
libsolv-tools-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8
perl-solv-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8
python3-solv Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8
python3-solv-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8
ruby-solv-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.7.11-1.el8

Products include Debian Debian Linux, Opensuse Libsolv.

How do I fix CVE-2019-20387?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-20387 being exploited?

There is no known exploitation of CVE-2019-20387 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-20387, DLA-2088-1, GHSA-vvx2-pj87-xmpx, MGASA-2020-0117, RHSA-2020:4508, UBUNTU-CVE-2019-20387.

Is CVE-2019-20387 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free