CVE Catalog

CVE-2021-47996

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.52%

42th percentile - higher than 42% of all known CVEs

Summary

Nokogiri before 1.11.4 (CRuby implementation only, when the packaged/vendored libxml2 is used) bundles libxml2 2.9.10, which is affected by multiple vulnerabilities addressed in libxml2 2.9.12, including a memory leak, heap-based buffer overflow, and out-of-bounds read. Processing crafted XML documents may lead to denial of service, information disclosure, or memory corruption.

Risk Assessment

An attacker can exploit these vulnerabilities to cause application crashes, information disclosure, or memory corruption, posing a threat to confidentiality and availability.

Recommendation

Upgrade Nokogiri to version 1.11.4 or later to get the patched libxml2.

Other vulnerabilities in Nokogiri

See all
Original NVD description (English source)

Nokogiri before 1.11.4 (CRuby implementation only, when the packaged/vendored libxml2 is used) bundles libxml2 2.9.10, which is affected by multiple vulnerabilities addressed in libxml2 2.9.12, including a memory leak in xmlSchemaValidateStream (CVE-2019-20388), a global buffer over-read in xmlEncodeEntitiesInternal (CVE-2020-24977), a heap-based buffer overflow (CVE-2021-3517), and an out-of-bounds read (CVE-2021-3518). Processing crafted XML documents may lead to denial of service, information disclosure, or memory corruption.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS