CRITICAL✓ PATCH🇵🇱 Wersja polska

CVE-2024-40896

CVSS 9.1v3.1pub. 2024-12-23upd. 2025-11-25

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.

🤖 AI Analysis
How it works

The SAX parser in libxml2 generates events for external XML entities even when custom SAX handlers attempt to override entity content by setting the 'checked' flag. This mechanism should block processing of external entities, however a bug in the implementation causes the flag to be ignored. As a result, an attacker can deliver a crafted XML document containing references to external entities that will be processed by the parser despite application security measures.

Impact

An attacker can manipulate XML document processing in a way that violates data integrity or causes application unavailability (denial of service). Classic XXE attacks are possible, including reading system files or forcing server-side requests (SSRF), depending on the application context.

Mitigation & patch

Update libxml2 to version 2.11.9, 2.12.9, or 2.13.3 (according to the branch in use). NetApp product users should follow the manufacturer's recommendations available at https://security.netapp.com/advisory/ntap-20250228-0004/. Additionally, it is recommended to verify that applications using libxml2 do not rely solely on custom SAX handlers as the only protection mechanism against XXE.

Who is affected

libxml2 in versions: 2.11.x before 2.11.9, 2.12.x before 2.12.9, and 2.13.x before 2.13.3. Also affects NetApp HCI Compute Node and NetApp SolidFire & HCI Management Node products based on vulnerable library versions.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Netapp H300s

    HW
    Netapp
    all versions
  • Netapp H300s Firmware

    OS
    Netapp
    all versions
  • Netapp H410c

    HW
    Netapp
    all versions
  • Netapp H410c Firmware

    OS
    Netapp
    all versions
  • Netapp H410s

    HW
    Netapp
    all versions
  • Netapp H410s Firmware

    OS
    Netapp
    all versions
  • Netapp H500s

    HW
    Netapp
    all versions
  • Netapp H500s Firmware

    OS
    Netapp
    all versions
  • Netapp H700s

    HW
    Netapp
    all versions
  • Netapp H700s Firmware

    OS
    Netapp
    all versions
  • Netapp Hci Compute Node

    OS
    Netapp
    all versions
  • Netapp Solidfire \& Hci Management Node

    APP
    Netapp
    all versions
  • Netapp Solidfire \& Hci Storage Node

    APP
    Netapp
    all versions
  • Xmlsoft Libxml2

    APP
    Xmlsoft
    2.11.0 – 2.11.9 (excl.)2.13.0 – 2.13.3 (excl.)2.12.0 – 2.12.9 (excl.)
🟢
PATCH AVAILABLE
Vendor update available. Deploy in standard maintenance cycle.
Tags
XXE
CWE
References

Related vulnerabilities

CVE-2024-54085CRITICAL10.0⚠ KEVPL ✓same product

AMI MegaRAC SPx — zdalne ominięcie uwierzytelnienia w interfejsie Redfish BMC

CVE-2025-24813CRITICAL9.8⚠ KEVPL ✓same product

Apache Tomcat: Path Equivalence prowadzący do RCE i ujawnienia danych

CVE-2021-44228CRITICAL10.0⚠ KEVPL ✓same product

Apache Log4j2 Log4Shell — RCE przez podatną funkcję JNDI lookup

CVE-2024-56337CRITICAL9.8PL ✓same product

Apache Tomcat: niekompletna mitygacja TOCTOU Race Condition (CVE-2024-50379)

CVE-2024-50379CRITICAL9.8PL ✓same product

RCE via TOCTOU Race Condition podczas kompilacji JSP w Apache Tomcat