RubySec

Providing security resources for the Ruby community

CVE-2021-3537 (nokogiri): Nokogiri Implements libxml2 version vulnerable to null pointer dereferencing

ADVISORIES

GEM

nokogiri

SEVERITY

CVSS v3.x: 5.9 (Medium)

CVSS v2.0: 4.3 (Medium)

PATCHED VERSIONS

  • >= 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