GitHub Advisoryadvisory · RubyGems
GHSA-cf46-6xxh-pc75 libxslt Type Confusion vulnerability that affects Nokogiri
HIGH
Official page ↗
- Aliases
- CVE-2019-13118
- Ecosystem
- RubyGems
- Packages
- nokogiri
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-843
- Reviewed
- 2023-03-08
Affected packages
• RubyGems nokogiri: < 1.10.5 → fixed in 1.10.5
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.
Nokogiri prior to version 1.10.5 used a vulnerable version of libxslt. Nokogiri 1.10.5 updated libxslt to version 1.1.34 to address this and other vulnerabilities in libxslt.
Related
Alias · CVE (1)
- CVE-2019-13118 In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid… vulnerability
Weakness · CWE (1)
- CWE-843 Access of Resource Using Incompatible Type weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-13118 advisory
- https://github.com/sparklemotion/nokogiri/issues/1943 web
- https://github.com/sparklemotion/nokogiri/commit/43a175339b47b8c604508813fc75b83f13cd173e web
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15069 web
- https://seclists.org/bugtraq/2019/Jul/36 web
- https://seclists.org/bugtraq/2019/Jul/37 web
- https://seclists.org/bugtraq/2019/Jul/40 web
- https://seclists.org/bugtraq/2019/Jul/41 web
- https://seclists.org/bugtraq/2019/Jul/42 web
- https://security.netapp.com/advisory/ntap-20190806-0004 web
- https://security.netapp.com/advisory/ntap-20200122-0003 web
- https://support.apple.com/kb/HT210346 web
- https://support.apple.com/kb/HT210348 web
- https://support.apple.com/kb/HT210351 web
- https://support.apple.com/kb/HT210353 web
- https://support.apple.com/kb/HT210356 web
- https://support.apple.com/kb/HT210357 web
- https://support.apple.com/kb/HT210358 web
- https://usn.ubuntu.com/4164-1 web
- https://www.oracle.com/security-alerts/cpujan2020.html web
- https://github.com/sparklemotion/nokogiri/blob/f7aa3b0b29d6fe5fafe93dacd9b96b6b3d16b7ec/CHANGELOG.md?plain=1#L796 web
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.10.5 web
- https://gitlab.gnome.org/GNOME/libxslt/commit/6ce8de69330783977dd14f6569419489875fb71b web
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E web
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E web
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E web
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E web
- https://lists.debian.org/debian-lts-announce/2019/07/msg00020.html web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IOYJKXPQCUNBMMQJWYXOR6QRUJZHEDRZ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IOYJKXPQCUNBMMQJWYXOR6QRUJZHEDRZ web
- https://oss-fuzz.com/testcase-detail/5197371471822848 web
- https://seclists.org/bugtraq/2019/Aug/21 web
- https://seclists.org/bugtraq/2019/Aug/22 web
- https://seclists.org/bugtraq/2019/Aug/23 web
- https://seclists.org/bugtraq/2019/Aug/25 web
- https://seclists.org/bugtraq/2019/Jul/35 web
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00062.html web
- http://seclists.org/fulldisclosure/2019/Aug/11 web
- http://seclists.org/fulldisclosure/2019/Aug/13 web
- http://seclists.org/fulldisclosure/2019/Aug/14 web