CVE Vulnerabilities

CVE-2024-56171

Use After Free

Published: Feb 18, 2025 | Modified: Mar 28, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
8.1 IMPORTANT
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Ubuntu
MEDIUM

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleIDCNodeTables in xmlschemas.c. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 7 Extended Lifecycle Support RedHat libxml2-0:2.9.1-6.el7_9.9 *
Red Hat Enterprise Linux 8 RedHat libxml2-0:2.9.7-19.el8_10 *
Red Hat Enterprise Linux 8 RedHat libxml2-0:2.9.7-19.el8_10 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat libxml2-0:2.9.7-9.el8_2.1 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat libxml2-0:2.9.7-9.el8_4.5 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat libxml2-0:2.9.7-9.el8_4.5 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat libxml2-0:2.9.7-9.el8_4.5 *
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support RedHat libxml2-0:2.9.7-13.el8_6.8 *
Red Hat Enterprise Linux 8.6 Telecommunications Update Service RedHat libxml2-0:2.9.7-13.el8_6.8 *
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions RedHat libxml2-0:2.9.7-13.el8_6.8 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat libxml2-0:2.9.7-16.el8_8.7 *
Red Hat Enterprise Linux 9 RedHat libxml2-0:2.9.13-6.el9_5.2 *
Red Hat Enterprise Linux 9 RedHat libxml2-0:2.9.13-6.el9_5.2 *
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions RedHat libxml2-0:2.9.13-1.el9_0.4 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat libxml2-0:2.9.13-3.el9_2.6 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat libxml2-0:2.9.13-9.el9_4 *
Red Hat JBoss Core Services 2.4.62 RedHat libxml2 *
Red Hat OpenShift Container Platform 4.12 RedHat rhcos-412.86.202503310142-0 *
Red Hat OpenShift Container Platform 4.13 RedHat rhcos-413.92.202503112237-0 *
Red Hat OpenShift Container Platform 4.14 RedHat rhcos-414.92.202504010153-0 *
Red Hat OpenShift Container Platform 4.15 RedHat rhcos-415.92.202503190057-0 *
Red Hat OpenShift Container Platform 4.16 RedHat rhcos-416.94.202503252048-0 *
Red Hat OpenShift Container Platform 4.17 RedHat rhcos-417.94.202503172033-0 *
Red Hat OpenShift Container Platform 4.18 RedHat rhcos-418.94.202503181639-0 *
Service Interconnect 1.4 for RHEL 9 RedHat skupper-config-sync-container-1.4.8-1 *
Service Interconnect 1.4 for RHEL 9 RedHat skupper-flow-collector-container-1.4.8-1 *
Service Interconnect 1.4 for RHEL 9 RedHat skupper-operator-bundle-container-1.4.8-1 *
Service Interconnect 1.4 for RHEL 9 RedHat skupper-router-container-2.4.3-9 *
Service Interconnect 1.4 for RHEL 9 RedHat skupper-service-controller-container-1.4.8-1 *
Service Interconnect 1.4 for RHEL 9 RedHat skupper-site-controller-container-1.4.8-1 *
Service Interconnect 1 for RHEL 9 RedHat skupper-config-sync-container-1.8.5-1 *
Service Interconnect 1 for RHEL 9 RedHat skupper-controller-podman-container-1.8.5-1 *
Service Interconnect 1 for RHEL 9 RedHat skupper-flow-collector-container-1.8.5-1 *
Service Interconnect 1 for RHEL 9 RedHat skupper-operator-bundle-container-1.8.5-2 *
Service Interconnect 1 for RHEL 9 RedHat skupper-router-container-2.7.5-2 *
Service Interconnect 1 for RHEL 9 RedHat skupper-service-controller-container-1.8.5-1 *
Service Interconnect 1 for RHEL 9 RedHat skupper-site-controller-container-1.8.5-1 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel8:sha256:ee01e89f98feb185f6cd59c564e590a13e4d8d9ea760cca8de51426eb71b83a1 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8:sha256:d7d4fa406e0fcf0507894a7676532b27f45be742467e603a86f98ea5d2615df8 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-data-science-pipelines-operator-controller-rhel8:sha256:a0f72ffefb2b74b488dd949493f5d295a39bb9c97f578bf219d0138601f65468 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-kf-notebook-controller-rhel8:sha256:2ba2b2c4db8bb334c50f4dfb54059f060361186900a44c06eed00b7a3c43977e *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-kuberay-operator-controller-rhel8:sha256:5394cd240a8857906803affec711959da8b8da4e9a7225ddaefe9736c98949b4 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-kueue-controller-rhel8:sha256:036af0457f091059551ff63563d5cf68f062297a5630a869bbf3398d5e97ffdc *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-mlmd-grpc-server-rhel8:sha256:5dcdcc2424602a69451f16d31dbfa1d43cb72c095ba561eb9076f0cd1e8182ed *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-ml-pipelines-driver-rhel8:sha256:2257fe7947959fd59346d2b322f7dbb471831880df659e57344b0d804c2c0099 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-ml-pipelines-launcher-rhel8:sha256:8783f8aaed686a63ed1f913364c85606b1447540608f5b7f45412ff0868a4f38 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-model-controller-rhel8:sha256:6cf74044ae8d5308a2dfe03fa5d81086c89302db7f4cdbe2f4174a1c48b77869 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-modelmesh-rhel8:sha256:c499a2c4a7860a1853adf3ebfbf154f3c03c478034a78566b82711373210af39 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-modelmesh-runtime-adapter-rhel8:sha256:4a7599f8a866eb169c9a62885906adbf6df0417c0be15857df1eef20cd9b1be2 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-notebook-controller-rhel8:sha256:4c5ff3496b2a2a739939d94ee9dafc02b682100785d228dc2fde480fb597b7a5 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel8:sha256:ee01e89f98feb185f6cd59c564e590a13e4d8d9ea760cca8de51426eb71b83a1 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8:sha256:d7d4fa406e0fcf0507894a7676532b27f45be742467e603a86f98ea5d2615df8 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-data-science-pipelines-operator-controller-rhel8:sha256:a0f72ffefb2b74b488dd949493f5d295a39bb9c97f578bf219d0138601f65468 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-kf-notebook-controller-rhel8:sha256:2ba2b2c4db8bb334c50f4dfb54059f060361186900a44c06eed00b7a3c43977e *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-kuberay-operator-controller-rhel8:sha256:65482864055021272a18b5b26792ab00cfa5fc9cc005d8d3a884cc82991506f3 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-kueue-controller-rhel8:sha256:7b70af8847b0806d8b43c399e2b3109f016fd864f5e9d30c44e2baca5d1359dc *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-mlmd-grpc-server-rhel8:sha256:5dcdcc2424602a69451f16d31dbfa1d43cb72c095ba561eb9076f0cd1e8182ed *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-ml-pipelines-driver-rhel8:sha256:efd039012559786deb3c521a130886c265e88d635e08baace2e573a9df270134 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-ml-pipelines-launcher-rhel8:sha256:27b113d96453c2054d4c965a963d2badba6daac235eddaf23234c76e87bcb069 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-model-controller-rhel8:sha256:6cf74044ae8d5308a2dfe03fa5d81086c89302db7f4cdbe2f4174a1c48b77869 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-modelmesh-rhel8:sha256:c499a2c4a7860a1853adf3ebfbf154f3c03c478034a78566b82711373210af39 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-modelmesh-runtime-adapter-rhel8:sha256:4a7599f8a866eb169c9a62885906adbf6df0417c0be15857df1eef20cd9b1be2 *
Red Hat OpenShift AI 2.16 RedHat registry.redhat.io/rhoai/odh-notebook-controller-rhel8:sha256:4c5ff3496b2a2a739939d94ee9dafc02b682100785d228dc2fde480fb597b7a5 *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/opentelemetry-collector-rhel8:sha256:92613ae031dd45d85151ff1bd0703ee6bbc6842133cdc51b274769122ea40ac8 *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/opentelemetry-rhel8-operator:sha256:e2375ae72ddda9e05e66972adb7bf953bfbf220dcc8b36d6eb1ab76d9e96ff5d *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/opentelemetry-target-allocator-rhel8:sha256:0742729985d0b1ce925bdaaa92c2bb42272902f4c2e93038c0fcf171c7baf03f *
Red Hat Openshift Network Observability 1.8.1 RedHat registry.redhat.io/network-observability/network-observability-rhel9-operator:sha256:931c4ea56af3ced616830034f84b5b3a37bb6051d853605ba501db8cfe4887b3 *
Libxml2 Ubuntu devel *
Libxml2 Ubuntu esm-infra-legacy/trusty *
Libxml2 Ubuntu esm-infra/bionic *
Libxml2 Ubuntu esm-infra/focal *
Libxml2 Ubuntu esm-infra/xenial *
Libxml2 Ubuntu focal *
Libxml2 Ubuntu jammy *
Libxml2 Ubuntu noble *
Libxml2 Ubuntu oracular *
Libxml2 Ubuntu plucky *
Libxml2 Ubuntu upstream *

Potential Mitigations

References