CVE-2019-5815 Nokogiri implementation of libxslt vulnerable to heap corruption

High 7.5 Published Updated

Type confusion in libxslt allows attackers to exploit heap corruption via crafted XML, potentially leading to code execution in Chrome.

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-5815?

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

Official description

Type confusion in xsltNumberFormatGetMultipleLevel prior to libxslt 1.1.33 could allow attackers to potentially exploit heap corruption via crafted XML data.

Weakness: CWE-843, CWE-787

Which versions are affected by CVE-2019-5815?

2 open source packages ship an affected version, including nokogiri. It affects 2 products.

PackageAffectedFixed in
nokogiri RubyGemsAll versions1.10.5
nokogiri RubyGemsAll versions1.10.5

Products include Debian Debian Linux, Xmlsoft Libxslt.

How do I fix CVE-2019-5815?

Upgrade nokogiri to 1.10.5 or later.

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

Is CVE-2019-5815 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-5815, GHSA-vmfx-gcfq-wvm2, UBUNTU-CVE-2019-5815.

Is CVE-2019-5815 in your software?

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

Check your SBOMs for free