CVE-2024-40896 XML external entity in libxml2

Critical 9.1 Published Updated

Attackers can exploit external entity processing in libxml2 to read sensitive files or execute code, bypassing custom SAX handler protections.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-40896?

CVE-2024-40896 is a critical vulnerability in Netapp H300s Firmware, published on 23 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if custom SAX handlers try to override entity content (by setting "checked"). This makes classic XXE attacks possible.

Weakness: CWE-611

Which versions are affected by CVE-2024-40896?

3 open source packages ship an affected version, including java, java-min and jre. It affects 9 products.

PackageAffectedFixed in
java BitnamiAll versions1.8.0, 8.0.461
java-min BitnamiAll versions1.8.0, 8.0.461
jre BitnamiAll versions1.8.0, 8.0.461
Linux distribution packages (8)
libxml2 SUSE:Linux Micro 6.0All versions2.11.6-4.1
libxml2 SUSE:Linux Micro 6.1All versions2.11.6-slfo.1.1_5.1
qt6-webengine SUSE:Package Hub 15 SP6All versions6.6.3-bp156.2.3.1
qt6-webengine-docs SUSE:Package Hub 15 SP6All versions6.6.3-bp156.2.3.1
qt6-webengine openSUSE:Leap 15.6All versions6.6.3-bp156.2.3.1
qt6-webengine-docs openSUSE:Leap 15.6All versions6.6.3-bp156.2.3.1
libxml2 openSUSE:TumbleweedAll versions2.12.9-1.1
qt6-webengine openSUSE:TumbleweedAll versions6.8.1-2.1

Products include Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500s Firmware, Netapp H700s Firmware, Netapp Hci Compute Node and 3 more.

How do I fix CVE-2024-40896?

Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.461.

Is CVE-2024-40896 being exploited?

There is no known exploitation of CVE-2024-40896 in the wild and no public exploit code.

All Netapp H300s Firmware vulnerabilities

Sources

Also known as AZL-54657, BELL-CVE-2024-40896, BIT-java-2024-40896, BIT-java-min-2024-40896, BIT-jre-2024-40896, ECHO-b726-c9da-706c and 10 more.

Is CVE-2024-40896 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free