GHSA-PXVG-2QJ5-37JQ

GHSA-PXVG-2QJ5-37JQ is a medium-severity security vulnerability in nokogiri (rubygems), affecting versions < 1.14.3. It is fixed in 1.14.3.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Nokogiri updates packaged libxml2 to v2.10.4 to resolve multiple CVEs

Nokogiri v1.14.3 upgrades the packaged version of its dependency libxml2 to v2.10.4 from v2.10.3.

libxml2 v2.10.4 addresses the following known vulnerabilities:

  • CVE-2023-29469: Hashing of empty dict strings isn't deterministic
  • CVE-2023-28484: Fix null deref in xmlSchemaFixupComplexType
  • Schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK

Please note that this advisory only applies to the CRuby implementation of Nokogiri < 1.14.3, and only if the packaged libraries are being used. If you've overridden defaults at installation time to use system libraries instead of packaged libraries, you should instead pay attention to your distro's libxml2 release announcements.

Mitigation

Upgrade to Nokogiri >= 1.14.3.

Users who are unable to upgrade Nokogiri may also choose a more complicated mitigation: compile and link Nokogiri against external libraries libxml2 >= 2.10.4 which will also address these same issues.

Impact

No public information has yet been published about the security-related issues other than the upstream commits. Examination of those changesets indicate that the more serious issues relate to libxml2 dereferencing NULL pointers and potentially segfaulting while parsing untrusted inputs.

The commits can be examined at:

Affected versions

nokogiri (< 1.14.3)

Security releases

nokogiri → 1.14.3 (rubygems)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade nokogiri to 1.14.3 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is GHSA-PXVG-2QJ5-37JQ? GHSA-PXVG-2QJ5-37JQ is a medium-severity security vulnerability in nokogiri (rubygems), affecting versions < 1.14.3. It is fixed in 1.14.3.
  2. Which versions of nokogiri are affected by GHSA-PXVG-2QJ5-37JQ? nokogiri (rubygems) versions < 1.14.3 is affected.
  3. Is there a fix for GHSA-PXVG-2QJ5-37JQ? Yes. GHSA-PXVG-2QJ5-37JQ is fixed in 1.14.3. Upgrade to this version or later.
  4. Is GHSA-PXVG-2QJ5-37JQ exploitable, and should I be worried? Whether GHSA-PXVG-2QJ5-37JQ is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether GHSA-PXVG-2QJ5-37JQ is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix GHSA-PXVG-2QJ5-37JQ? Upgrade nokogiri to 1.14.3 or later.

Other vulnerabilities in nokogiri

Stop the waste.
Protect your environment with Kodem.