Severity
8.6HIGH
EPSS
0.1%
top 71.16%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 19
Latest updateMay 24

Description

There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HExploitability: 3.9 | Impact: 4.7

Affected Packages12 packages

NVDxmlsoft/libxml2< 2.9.11
Debianlibxml2< 2.9.10+dfsg-6.6+3
CVEListV5libxml2libxml2 2.9.11
RubyGemsnokogiri< 1.11.4

Also affects: Debian Linux 9.0, Fedora 33, 34, Enterprise Linux 8.0

Patches

🔴Vulnerability Details

6
GHSA
Nokogiri contains libxml Out-of-bounds Write vulnerability2022-05-24
OSV
Nokogiri contains libxml Out-of-bounds Write vulnerability2022-05-24
CVEList
CVE-2021-3517: There is a flaw in the xml entity encoding functionality of libxml2 in versions before 22021-05-19
OSV
CVE-2021-3517: There is a flaw in the xml entity encoding functionality of libxml2 in versions before 22021-05-19
OSV
Nokogiri updates packaged dependency on libxml2 from 2.9.10 to 2.9.122021-05-17

📋Vendor Advisories

6
Oracle
Oracle Oracle Systems Risk Matrix: Operating System Image — CVE-2021-35172022-01-15
Oracle
Oracle Oracle Java SE Risk Matrix: JavaFX (libxml) — CVE-2021-35172021-10-15
Ubuntu
libxml2 vulnerabilities2021-06-17
Microsoft
There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affect2021-05-11
Red Hat
libxml2: Heap-based buffer overflow in xmlEncodeEntitiesInternal() in entities.c2021-04-22