GitHub Advisoryadvisory · RubyGems

GHSA-6qvp-r6r3-9p7h Nokogiri NULL Pointer Dereference

HIGH Published 2019-01-17 Modified 2025-12-04 Official page ↗
Aliases
CVE-2018-14404
Ecosystem
RubyGems
Packages
nokogiri
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476
Reviewed
2020-06-16

Affected packages

• RubyGems nokogiri: < 1.8.5 → fixed in 1.8.5

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.

Related

Alias · CVE (1)

  • CVE-2018-14404 A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 through 2.9.8 when parsing an… vulnerability

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References