First published: Fri Oct 14 2022(Updated: )
A flaw was found in libxml2. When a reference cycle is detected in the XML entity cleanup function the XML entity data can be stored in a dictionary. In this case, the dictionary becomes corrupted resulting in logic errors, including memory errors like double free.
Credit: Ned Williamson Google Project ZeroNathan Wachholz Google Project ZeroWojciech Reguła @_r3ggi SecuRingABC Research s.r.o Mickey Jin @patch1t Tommy Muir @Muirey03 John Aakerblom @jaakerblom Weijia Dai @dwj1210 Momo SecurityIan Beer Google Project ZeroFelix Poulin-Belanger pattern-f @pattern_F_ Ant Security LightAdam Doupé ASU SEFCOMApple Maddie Stone Google Project ZeroIvan Fratric Google Project ZeroKirtiKumar Anandrao Ramchandani Adam M. Hyeon Park @tree_segment Team ApplePIEan anonymous researcher hazbinhotel Trend Micro Zero Day InitiativeSamuel Groß Google V8 SecurityDohyun Lee @l33d0hyun SSD Secure Disclosure LabsKorea Univ. Clément Lecigne Google's Threat Analysis GroupAndrey Labunets Nikita Tarakanov cve@mitre.org Mickey Jin @patch1t Offensive SecurityCsaba Fitzl @theevilbit Offensive SecurityZitong Wu(吴梓桐) Zhuhai No
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/libxml2 | <0:2.9.7-15.el8_7.1 | 0:2.9.7-15.el8_7.1 |
redhat/libxml2 | <0:2.9.13-3.el9_1 | 0:2.9.13-3.el9_1 |
redhat/libxml2 | <2.10.3 | 2.10.3 |
Apple macOS | <11.7.2 | 11.7.2 |
tvOS | <16.2 | 16.2 |
Apple iOS, iPadOS, and watchOS | <16.1.1 | 16.1.1 |
Apple iOS, iPadOS, and watchOS | <16.1.1 | 16.1.1 |
Apple iOS, iPadOS, and watchOS | <15.7.2 | 15.7.2 |
Apple iOS, iPadOS, and watchOS | <15.7.2 | 15.7.2 |
Apple iOS, iPadOS, and watchOS | <9.2 | 9.2 |
IBM Data Virtualization on Cloud Pak for Data | <=3.0 | |
IBM Watson Query with Cloud Pak for Data | <=2.2 | |
IBM Watson Query with Cloud Pak for Data | <=2.1 | |
IBM Watson Query with Cloud Pak for Data | <=2.0 | |
IBM Data Virtualization on Cloud Pak for Data | <=1.8 | |
IBM Data Virtualization on Cloud Pak for Data | <=1.7 | |
macOS | <12.6.2 | 12.6.2 |
macOS Ventura | <13.0.1 | 13.0.1 |
libxml2-devel | <2.10.3 | |
NetApp Active IQ Unified Manager for VMware vSphere | ||
IBM Data ONTAP | ||
NetApp ONTAP Antivirus Connector | ||
NetApp Manageability SDK | ||
NetApp SMI-S Provider | ||
NetApp SnapManager for Hyper-V | ||
NetApp H300S Firmware | ||
NetApp H300S Firmware | ||
NetApp H500e Firmware | ||
NetApp H500e Firmware | ||
NetApp H700S | ||
NetApp H700S | ||
NetApp H410S | ||
NetApp H410S Firmware | ||
NetApp H410C | ||
NetApp H410C Firmware | ||
Apple iOS, iPadOS, and watchOS | <15.7.2 | |
iStyle @cosme iPhone OS | <15.7.2 | |
Apple iOS and macOS | >=11.0<11.7.2 | |
Apple iOS and macOS | >=12.0<12.6.2 | |
tvOS | <16.2 | |
Apple iOS, iPadOS, and watchOS | <9.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
(Found alongside the following vulnerabilities)
The vulnerability ID for this issue in libxml2 is CVE-2022-40304.
The severity of CVE-2022-40304 is high.
The affected software of CVE-2022-40304 includes Apple iOS, Apple iPadOS, Apple macOS Monterey, Apple macOS Big Sur, Apple macOS Ventura, Apple watchOS, Apple tvOS, and Red Hat libxml2.
To fix CVE-2022-40304 in Apple iOS, iPadOS, and watchOS, update to version 15.7.2 or later for iOS, version 16.1.1 or later for iOS, and version 9.2 or later for watchOS.
To fix CVE-2022-40304 in Apple macOS Monterey, macOS Big Sur, and macOS Ventura, update to version 12.6.2 or later for macOS Monterey, version 11.7.2 or later for macOS Big Sur, and version 13.0.1 or later for macOS Ventura.