CVE-2019-13118 libxslt Type Confusion vulnerability that affects Nokogiri
An attacker can read uninitialized stack data via a crafted xsl:number instruction in libxslt, potentially exposing sensitive memory contents.
- 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-13118?
CVE-2019-13118 is a medium-severity vulnerability in Apple Icloud, published on 1 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
Weakness: CWE-843
Which versions are affected by CVE-2019-13118?
2 open source packages ship an affected version, including nokogiri. It affects 25 products.
| Package | Affected | Fixed in |
|---|---|---|
nokogiri RubyGems | All versions | 1.10.5 |
nokogiri RubyGems | All versions | 1.10.5 |
Products include Apple Icloud, Apple Iphone Os, Apple Itunes, Apple Mac Os X, Apple Macos, Apple Tvos and 19 more.
How do I fix CVE-2019-13118?
Upgrade nokogiri to 1.10.5 or later.
Is CVE-2019-13118 being exploited?
There is no known exploitation of CVE-2019-13118 in the wild and no public exploit code.
Other vulnerabilities in Apple Icloud
Sources
Also known as ALPINE-CVE-2019-13118, DEBIAN-CVE-2019-13118, GHSA-cf46-6xxh-pc75, JLSEC-2026-579, UBUNTU-CVE-2019-13118.