CVE-2018-14404
libxml2: NULL pointer dereference in xmlXPathCompOpEval() function in xpath.c
Overview
Description
A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 through 2.9.8 when parsing an invalid XPath expression in the XPATH_OP_AND or XPATH_OP_OR case. Applications processing untrusted XSL format inputs with the use of the libxml2 library may be vulnerable to a denial of service attack due to a crash of the application.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-476
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | nokogiri | <1.8.5 | 1.8.5 |
Open a package to see all its vulnerabilities.
Operating systems · 36 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libxml2 +3 | 2.9.1-6.0.1.el7.4 |
| 8 | libxml2 +2 | 2.9.7-7.0.1.el8 |
Red Hat 2 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | cockpit-ovirt-dashboard | 0:0.13.10-1.el7ev | RHBA-2020:1310 |
| 7 | libxml2 +3 | 0:2.9.1-6.el7.4 | RHSA-2020:1190 |
| 7 | redhat-release-virtualization-host +1 | 0:4.3.9-2.el7ev | RHBA-2020:1310 |
| 7 | redhat-virtualization-host-image-update | 0:4.3.9-20200324.0.el7_8 | RHBA-2020:1310 |
| 8 | mingw-libxml2 +2 | wont fix | — |
| 8 | libxml2 +2 | 0:2.9.7-7.el8 | RHSA-2020:1827 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | libxml2 | 2.9.8-r1 |
| 3.23 | libxml2 | 2.9.8-r1 |
| 3.24 | libxml2 | 2.9.8-r1 |
| edge | libxml2 | 2.9.8-r1 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | libxml2 | 2.9.4+dfsg1-7+deb10u1 |
| 11 | libxml2 | 2.9.10+dfsg-2 |
| 12 | libxml2 | 2.9.10+dfsg-2 |
| 13 | libxml2 | 2.9.10+dfsg-2 |
| 14 | libxml2 | 2.9.10+dfsg-2 |
| 9 | libxml2 | 2.9.4+dfsg1-2.2+deb9u3 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| libxml2-2-9-1 | 2.9.1+e1 | |
| libxml2 | 2.9.10+dfsg-2 |
openSUSE 1 release · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby2-7-rubygem-nokogiri +1 | 1.12.3-1.2 | openSUSE-SU-2024:11340-1 |
| Tumbleweed | ruby3-1-rubygem-nokogiri | 1.13.3-1.1 | openSUSE-SU-2024:11912-1 |
| Tumbleweed | ruby3-2-rubygem-nokogiri | 1.13.9-1.7 | openSUSE-SU-2024:13165-1 |
| Tumbleweed | ruby3-3-rubygem-nokogiri | 1.15.5-1.5 | openSUSE-SU-2024:14174-1 |
| Tumbleweed | ruby3-4-rubygem-nokogiri | 1.18.2-1.1 | openSUSE-SU-2025:14697-1 |
| Tumbleweed | ruby4-0-rubygem-nokogiri | 1.18.9-1.4 | openSUSE-SU-2026:10356-1 |
2 more rows
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-libxml2 | 2.9.10+dfsg-2 |
| 12 | rootio-libxml2 | 2.9.10+dfsg-2 |
| 13 | rootio-libxml2 | 2.9.10+dfsg-2 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libxml2 +1 | 2.9.1-6.el7_9.6+sp999 |
| 8 | libxml2 +1 | 2.9.7-18.el8_10.1+sp999 |
| 9 | libxml2 +1 | 2.9.13-6.el9_4+sp999 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.2 |
| 18.04-ESM | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.2 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:1543
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-14404
- bugs.debian.org https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901817
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1595985
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-14404.yml
- github.com https://github.com/sparklemotion/nokogiri/issues/1785
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/commit/2240fbf5912054af025fb6e01e26375100275e74
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/commit/a436374994c47b12d5de1b8b1d191a098fa23594
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/issues/10
Show all 25 references
- groups.google.com https://groups.google.com/forum/#!msg/ruby-security-ann/uVrmO2HjqQw/Fw3ocLI0BQAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-14404.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-1827.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-14404
- security.netapp.com https://security.netapp.com/advisory/ntap-20190719-0002
- security.netapp.com https://security.netapp.com/advisory/ntap-20190719-0002/
- ubuntu.com https://ubuntu.com/security/notices/USN-3739-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3739-2
- usn.ubuntu.com https://usn.ubuntu.com/3739-1
- usn.ubuntu.com https://usn.ubuntu.com/3739-1/
- usn.ubuntu.com https://usn.ubuntu.com/3739-2
- usn.ubuntu.com https://usn.ubuntu.com/3739-2/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-14404
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.