CVE-2021-47996

Published: Ago 25, 2026 Last Modified: Ago 25, 2026
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 8,7
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Confidentiality: N/A
Integrity: N/A
Availability: N/A
HIGH 7,5
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: none
Integrity: none
Availability: high

Description

AI Translation Available

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.

119

Improper Restriction of Operations within the Bounds of a Memory Buffer

Stable
Common Consequences
Security Scopes Affected:
Integrity Confidentiality Availability
Potential Impacts:
Execute Unauthorized Code Or Commands Modify Memory Read Memory Dos: Crash, Exit, Or Restart Dos: Resource Consumption (Cpu) Dos: Resource Consumption (Memory)
Applicable Platforms
Languages: Memory-Unsafe, C, C++, Assembly
View CWE Details
https://github.com/sparklemotion/nokogiri/commit/0e1a49c8907645d2e155f0d89d4d98…
https://github.com/sparklemotion/nokogiri/commit/1098c30a040e72a4654968547f415b…
https://github.com/sparklemotion/nokogiri/commit/1358d157d0bd83be1dfe356a69213d…
https://github.com/sparklemotion/nokogiri/commit/50f06b3efb638efb0abd95dc62dca0…
https://github.com/sparklemotion/nokogiri/commit/7ffcd44d7e6c46704f8af0321d9314…
https://github.com/sparklemotion/nokogiri/commit/8598060bacada41a0eb09d95c97744…
https://github.com/sparklemotion/nokogiri/commit/babe75030c7f64a37826bb33423171…
https://github.com/sparklemotion/nokogiri/commit/bf22713507fe1fc3a2c4b525cf0a88…
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-7rrm-v45f-jp…
https://www.vulncheck.com/advisories/nokogiri-before-multiple-vulnerabilities-v…