Use-after-free in Libxml2 - CVE-2024-25062

 

Use-after-free in Libxml2 - CVE-2024-25062

Published: February 5, 2024 / Updated: October 9, 2024


Vulnerability identifier: #VU86052
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-25062
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error in xmlValidatePopElement when using the XML Reader interface with DTD validation and XInclude expansion enabled. A remote attacker can pass a specially crafted XML document to the application, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

Libxml2
Gentoo Linux
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
BIG-IP Next CNF
BIG-IP Next SPK
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Ubuntu
Slackware Linux
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
Python 3 Module
openSUSE Leap
openEuler
IBM AIX
IBM Observability with Instana
Netcool/OMNIbus
IBM Security Verify Governance
Oracle HTTP Server
Oracle Communications Cloud Native Core Binding Support Function
Multicluster GlobalHub
Migration Toolkit for Runtimes
Service Interconnect
Ansible Automation Platform
Red Hat Advanced Cluster Management for Kubernetes
IBM Cloud Transformation Advisor
Red Hat OpenShift Dev Spaces
IBM Watson Assistant for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
Dell Secure Connect Gateway
Red Hat Migration Toolkit for Applications
IBM MQ Operator
IBM Power Hardware Management Console (HMC)
Red Hat OpenStack
NetWorker
IBM Cloud Pak for Business Automation
Autodesk Infraworks
Nokogiri
IBM Cloud Pak for Watson AIOps
IBM Business Automation Manager Open Editions
IBM InfoSphere Identity Insight
webMethods Managed File Transfer
Oracle Communications User Data Repository
Dell Data Protection Central
PowerStore X
PowerStore T
Storage Resource Manager
Storage Ceph
SmartFabric OS10
EMC Cloud Tiering Appliance
Traffix SDC
Migration Toolkit for Containers
Red Hat OpenShift Container Platform
IBM DataPower Gateway
LANTIME Operating System Firmware (LTOS)
BIG-IP
Juniper Secure Analytics (JSA)
Oracle Java SE
MySQL Workbench
IBM CICS TX Advanced
MySQL Cluster
RSA Authentication Manager
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libxml2 (Ubuntu package)
libxml2-tools-debuginfo
libxml2-devel
python-libxml2-debugsource
libxml2-debugsource
python-libxml2-debuginfo
libxml2-2-debuginfo
libxml2-2-debuginfo-32bit
libxml2-2-32bit
libxml2-2
libxml2-tools
python-libxml2
libxml2-doc
libxml2 (Red Hat package)
python3-libxml2
libxml2
python2-libxml2-python
python3-libxml2-python
python-libxml2-python-debugsource
python2-libxml2-python-debuginfo
python3-libxml2-python-debuginfo
libxml2-2-32bit-debuginfo
libxml2-debuginfo
libxml2-help
python2-libxml2
libxml2 (Debian package)
python311-libxml2
libxml2-python-debugsource
python311-libxml2-debuginfo
python3-libxml2-debuginfo
libxml2-devel-32bit
libxml2-devel-64bit
libxml2-2-64bit-debuginfo
libxml2-2-64bit
libxml2-static
dev-libs/libxml2
IBM Integrated Analytics System
Oracle Banking Virtual Account Management
Red Hat OpenShift GitOps
IBM QRadar Network Packet Capture
IBM Cognos Analytics
Oracle GraalVM Enterprise Edition
Red Hat OpenShift Serverless
Multicluster Engine for Kubernetes
OpenShift Service Mesh
OpenShift Virtualization
OpenShift Container Platform for Windows Containers
Oracle Communications Cloud Native Core Policy
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
OpenShift API for Data Protection (OADP)
Network Observability plugin for the Openshift Console
JBoss Core Services
IBM VIOS
Dell EMC Storage Monitoring and Reporting (SMR)
Red Hat Ceph Storage
IBM Qradar SIEM
Dell EMC VxRail Appliance
IBM Security Verify Access

How to mitigate CVE-2024-25062

Install updates from vendor's website.

Libxml2 - addressed in versions 2.11.7, 2.12.5
IBM Observability with Instana - update to 1.0.307
Nokogiri - addressed in versions 1.15.6, 1.16.2
IBM Cloud Pak for Watson AIOps - update to 4.10.0
LANTIME Operating System Firmware (LTOS) - update to 7.08.010
Juniper Secure Analytics (JSA) - update to 7.5.0 UP9 IF02
MySQL Workbench - update to 8.0.38
MySQL Cluster - update to 8.4.1
Netcool/OMNIbus - update to 8.1.0.34
RSA Authentication Manager - update to 8.7 SP2 Patch 4
IBM Business Automation Manager Open Editions - update to 9.1.1
IBM Security Verify Governance - update to 10.0.2.0.5
IBM Cognos Analytics - addressed in versions 11.2.4 FP5, 12.0.4 IF1
Dell Data Protection Central - update to 19.12.0-2
libxml2 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2.9.10+dfsg-5ubuntu0.20.04.7, 2.9.13+dfsg-1ubuntu0.4, 2.9.14+dfsg-1.3ubuntu0.1
Multicluster GlobalHub - update to 1.2.1
Migration Toolkit for Runtimes - addressed in versions 1.2.6, 1.2.7
OpenShift API for Data Protection (OADP) - update to 1.3.2
Service Interconnect - update to 1.5.4
Network Observability plugin for the Openshift Console - update to 1.6.0
Migration Toolkit for Containers - update to 1.8.4
Red Hat OpenShift GitOps - addressed in versions 1.11.6, 1.12.4, 1.12.5, 1.13.1
Red Hat OpenShift Serverless - update to 1.33.0
Ansible Automation Platform - update to 2.4
Multicluster Engine for Kubernetes - addressed in versions 2.4.6, 2.5.8, 2.6.4, 2.7.2
OpenShift Service Mesh - addressed in versions 2.4.8, 2.5.2
JBoss Core Services - update to 2.4.57 SP3
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.8.7, 2.9.5, 2.10.4, 2.10.5, 2.11.4, 2.12.0, 2.12.1
libxml2-tools-debuginfo - addressed in versions 2.9.4-46.71.1, 2.9.7-150000.3.66.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-devel - addressed in versions 2.9.4-46.71.1, 2.9.7-150000.3.66.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
python-libxml2-debugsource - update to 2.9.4-46.71.1
libxml2-debugsource - addressed in versions 2.9.4-46.71.1, 2.9.7-150000.3.66.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
python-libxml2-debuginfo - update to 2.9.4-46.71.1
libxml2-2-debuginfo - addressed in versions 2.9.4-46.71.1, 2.9.7-150000.3.66.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-2-debuginfo-32bit - update to 2.9.4-46.71.1
libxml2-2-32bit - addressed in versions 2.9.4-46.71.1, 2.9.7-150000.3.66.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-2 - addressed in versions 2.9.4-46.71.1, 2.9.7-150000.3.66.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-tools - addressed in versions 2.9.4-46.71.1, 2.9.7-150000.3.66.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
python-libxml2 - update to 2.9.4-46.71.1
libxml2-doc - addressed in versions 2.9.4-46.71.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2 (Red Hat package) - addressed in versions 2.9.7-13.el8_6.5, 2.9.7-16.el8_8.4, 2.9.7-18.el8_10.1, 2.9.13-3.el9_2.3, 2.9.13-6.el9_4
python3-libxml2 - addressed in versions 2.9.7-18.0.3, 2.11.5-4
libxml2-devel - addressed in versions 2.9.7-18.0.3, 2.11.5-4
libxml2 - addressed in versions 2.9.7-18.0.3, 2.11.5-4
python2-libxml2-python - update to 2.9.7-150000.3.66.1
python3-libxml2-python - update to 2.9.7-150000.3.66.1
python-libxml2-python-debugsource - update to 2.9.7-150000.3.66.1
python2-libxml2-python-debuginfo - update to 2.9.7-150000.3.66.1
python3-libxml2-python-debuginfo - update to 2.9.7-150000.3.66.1
libxml2-2-32bit-debuginfo - addressed in versions 2.9.7-150000.3.66.1, 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-debuginfo - update to 2.9.10-37
python3-libxml2 - update to 2.9.10-37
libxml2-debugsource - update to 2.9.10-37
libxml2-help - update to 2.9.10-37
libxml2-devel - update to 2.9.10-37
libxml2 - update to 2.9.10-37
python2-libxml2 - update to 2.9.10-37
libxml2 (Debian package) - update to 2.9.14+dfsg-1.3~deb12u2
python311-libxml2 - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-python-debugsource - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
python3-libxml2 - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
python311-libxml2-debuginfo - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
python3-libxml2-debuginfo - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-devel-32bit - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-devel-64bit - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-2-64bit-debuginfo - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-2-64bit - addressed in versions 2.9.14-150400.5.28.1, 2.10.3-150500.5.14.1
libxml2-doc - update to 2.11.5-4
libxml2-static - update to 2.11.5-4
libxml2 - update to 2.11.7
dev-libs/libxml2 - update to 2.12.5
IBM VIOS - addressed in versions 3.1.4.40, 4.1.0.20
PowerStore X - update to 3.2.1.4-2386214
IBM Cloud Transformation Advisor - update to 3.10.0
Red Hat OpenShift Dev Spaces - addressed in versions 3.15.0, 3.16.0, 3.17.0
PowerStore T - update to 4.0.0.2-2365061
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.10.0.3
Storage Resource Manager - update to 4.10.0.3
Red Hat OpenShift Container Platform - addressed in versions 4.12.59, 4.13.43, 4.13.45, 4.14.28, 4.14.32, 4.14.33, 4.16.0, 4.16.15, 4.17.0
OpenShift Virtualization - update to 4.14.6
IBM Watson Assistant for IBM Cloud Pak for Data - update to 5.0.1
App Connect Enterprise Certified Container - addressed in versions 5.0.19, 12.2.0
Red Hat Ceph Storage - update to 5.3
Dell Secure Connect Gateway - update to 5.24.00.14
Red Hat Migration Toolkit for Applications - addressed in versions 6.2.3, 7.0.3
Storage Ceph - update to 7.1
IBM AIX - addressed in versions 7.2.5 SP08, 7.3.1 SP04, 7.3.2 SP02
IBM Qradar SIEM - update to 7.5.0 Update Pack 10 IF01
IBM QRadar Network Packet Capture - update to 7.5.0 Update Package 11
Dell EMC VxRail Appliance - update to 8.0.213
OpenShift Container Platform for Windows Containers - addressed in versions 8.1.3, 10.15.3
IBM MQ Operator - addressed in versions 9.3.0.20-r2, 9.4.0.0-r3
IBM Security Verify Access - update to 10.0.9
IBM CICS TX Advanced - update to 10.1.0.0 ifix27
IBM Power Hardware Management Console (HMC) - addressed in versions 10.2.1040.0 SP3, 10.3.1060.0 SP1
IBM DataPower Gateway - addressed in versions 10.5.0.14, 10.6.0.2
SmartFabric OS10 - addressed in versions 10.5.4.15, 10.5.5.14, 10.5.6.9
EMC Cloud Tiering Appliance - update to 13.2.0.2.31
Red Hat OpenStack - update to 17.1
NetWorker - update to 19.10.0.3
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3-IF035, 24.0.0-IF001
Autodesk Infraworks - addressed in versions 2022.1.10.363, 2023.1.5.251, 2024.1.4.152, 2025.02.86

External References

Related Security Bulletins