Quick answers
- Is CVE-2019-13117 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2019-13117 being exploited in the wild.
- How severe is CVE-2019-13117?
- Medium severity, with a CVSS score of 5.3, published 24 May 2022.
- Which products and versions are affected?
- Gnome Libxslt 1.1.33; nokogiri (RubyGems) < 1.10.5, ECOSYSTEM:introduced=0,fixed=1.10.5.
- Is there a fix for CVE-2019-13117?
- Yes. nokogiri (RubyGems): upgrade to 1.10.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2019-13117 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2019-13117?
- Check whether you run Gnome Libxslt or nokogiri (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- nokogiri (RubyGems): upgrade to 1.10.5 or later
bundle update nokogiri
Technical details
An uninitialized read vulnerability exists in libxslt (specifically in numbers.c) when processing xsl:number instructions with certain format strings. The root cause is located in the xsltNumberFormatInsertNumbers function, where a failure to initialize resources allows an attacker to infer the contents of bytes on the stack (such as identifying specific characters like 'A', 'a', 'I', 'i', or '0'). This is a network-reachable vulnerability requiring no authentication or user interaction. While the information leak is limited in scope per request, it can be used to bypass memory protections or leak sensitive stack data. The issue is addressed in Nokogiri version 1.10.5 by updating the bundled libxslt dependency.
Affected products
- Nokogiri Nokogiri < 1.10.5
- GNOME libxslt 1.1.33
Identifiers
- CVE-2019-13117
- GHSA-4hm9-844j-jmxp
Timeline
- 2019-07-01: disclosed: NVD publication date
- 2019-10-22: patched: Nokogiri v1.10.5 released with fix
- 2022-05-24: advisory: GitHub Advisory published
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14471
- https://gitlab.gnome.org/GNOME/libxslt/commit/c5eb6cf3aba0af048596106ed839b4ae17ecbcb1
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2019/07/msg00020.html