GitHub Advisoryadvisory · RubyGems

GHSA-286v-pcf5-25rc Nokogiri Implements libxml2 version vulnerable to null pointer dereferencing

MEDIUM Published 2022-05-24 Modified 2023-07-10 Official page ↗
Aliases
CVE-2021-3537
Ecosystem
RubyGems
Packages
nokogiri
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476
Reviewed
2023-07-05

Affected packages

• RubyGems nokogiri: < 1.11.4 → fixed in 1.11.4

Description

A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and post-validated, the flaw could be used to crash the application. The highest threat from this vulnerability is to system availability.

Related

Alias · CVE (1)

  • CVE-2021-3537 A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing… vulnerability

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References