CVE-2022-23308 Use after free in n/a

High 7.5 Published Updated

A use-after-free vulnerability in libxml2 allows attackers to execute arbitrary code or cause denial of service via crafted XML documents.

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

What is CVE-2022-23308?

CVE-2022-23308 is a high-severity use after free vulnerability in Apple Ipados, published on 26 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.

Weakness: CWE-416

Which versions are affected by CVE-2022-23308?

It affects 35 products.

Linux distribution packages (40)
libxml2-devel AlmaLinux:8All versions2.9.7-12.el8_5
libxml2-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.7-12.el8_5
libxml2-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.7-12.el8_5
libxml2-devel Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.7-12.el8_5
python3-libxml2-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.7-12.el8_5
libxml2 Red Hat:enterprise_linux:8::baseosAll versions0:2.9.7-12.el8_5
libxml2-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:2.9.7-12.el8_5
libxml2-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:2.9.7-12.el8_5
python3-libxml2 Red Hat:enterprise_linux:8::baseosAll versions0:2.9.7-12.el8_5
python3-libxml2-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:2.9.7-12.el8_5
libxml2 Rocky Linux:8All versions0:2.9.7-12.el8_5
python-libxml2-python SUSE:Enterprise Storage 6All versions2.9.7-3.40.1
python-libxml2-python SUSE:Enterprise Storage 7All versions2.9.7-3.40.1
libxml2 SUSE:HPE Helion OpenStack 8All versions2.9.4-46.49.1
python-libxml2 SUSE:HPE Helion OpenStack 8All versions2.9.4-46.49.1
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions2.9.7-3.40.1
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions2.9.7-3.40.1
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions2.9.7-3.40.1
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.9.7-3.40.1
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions2.9.7-3.40.1
python-libxml2-python SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions2.9.7-3.40.1
python-libxml2-python SUSE:Linux Enterprise Micro 5.2All versions2.9.7-3.40.1
python-libxml2-python SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions2.9.7-3.40.1
python-libxml2-python SUSE:Linux Enterprise Module for Python 2 15 SP3All versions2.9.7-3.40.1
libxml2 SUSE:Linux Enterprise Point of Sale 11 SP3All versions2.7.6-0.77.43.1
libxml2-python SUSE:Linux Enterprise Point of Sale 11 SP3All versions2.7.6-0.77.43.1
python-libxml2-python SUSE:Linux Enterprise Real Time 15 SP2All versions2.9.7-3.40.1
libxml2 SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions2.7.6-0.77.43.1
libxml2-python SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions2.7.6-0.77.43.1
libxml2 SUSE:Linux Enterprise Server 12 SP2-BCLAll versions2.9.4-46.49.1
python-libxml2 SUSE:Linux Enterprise Server 12 SP2-BCLAll versions2.9.4-46.49.1
libxml2 SUSE:Linux Enterprise Server 12 SP3-BCLAll versions2.9.4-46.49.1
python-libxml2 SUSE:Linux Enterprise Server 12 SP3-BCLAll versions2.9.4-46.49.1
libxml2 SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions2.9.4-46.49.1
python-libxml2 SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions2.9.4-46.49.1
libxml2 SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2.9.4-46.49.1
python-libxml2 SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2.9.4-46.49.1
libxml2 SUSE:Linux Enterprise Server 12 SP5All versions2.9.4-46.49.1
python-libxml2 SUSE:Linux Enterprise Server 12 SP5All versions2.9.4-46.49.1
python-libxml2-python SUSE:Linux Enterprise Server 15 SP1-BCLAll versions2.9.7-3.40.1

Products include Apple Ipados, Apple Iphone Os, Apple Mac Os X, Apple Macos, Apple Tvos, Apple Watchos and 29 more.

How do I fix CVE-2022-23308?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-23308 being exploited?

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

All Apple Ipados vulnerabilities

Sources

Also known as ALPINE-CVE-2022-23308, ALSA-2022:0899, AZL-8862, CLSA-2022-1647254642, CLSA-2022-1647255690, CLSA-2022-1647255880 and 18 more.

Is CVE-2022-23308 in your software?

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

Check your SBOMs for free