HIGH 7.5
GHSA-242x-7cm6-4w8j
Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
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]