GitHub Advisoryadvisory · RubyGems
GHSA-242x-7cm6-4w8j Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2019-18197
- Ecosystem
- RubyGems
- Packages
- nokogiri
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416, CWE-908
- Reviewed
- 2023-07-07
Affected packages
• RubyGems nokogiri: < 1.10.5 → fixed in 1.10.5
Description
In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written to, or uninitialized data could be disclosed.
Nokogiri prior to version 1.10.5 contains a vulnerable version of libxslt. Nokogiri version 1.10.5 upgrades the dependency to libxslt 1.1.34, which contains a patch for this issue.
Related
Alias · CVE (1)
- CVE-2019-18197 In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-18197 advisory
- https://github.com/sparklemotion/nokogiri/issues/1943 web
- https://access.redhat.com/errata/RHSA-2020:0514 web
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15746 web
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15768 web
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15914 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2019-18197.yml web
- https://github.com/sparklemotion/nokogiri package
- https://github.com/sparklemotion/nokogiri/blob/01ab95f3e37429ed8d3b380a8d2f73902eb325d9/CHANGELOG.md?plain=1#L934 web
- https://gitlab.gnome.org/GNOME/libxslt/commit/2232473733b7313d67de8836ea3b29eec6e8e285 web
- https://lists.debian.org/debian-lts-announce/2019/10/msg00037.html web
- https://security.netapp.com/advisory/ntap-20191031-0004 web
- https://security.netapp.com/advisory/ntap-20200416-0004 web
- https://usn.ubuntu.com/4164-1 web
- https://www.oracle.com/security-alerts/cpuapr2020.html web
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00010.html web
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00015.html web
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00025.html web
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00062.html web
- http://www.openwall.com/lists/oss-security/2019/11/17/2 web