
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-23308 affects libxml2 versions before 2.9.13, specifically in the valid.c component. The vulnerability involves a use-after-free issue with ID and IDREF attributes that occurs when parsing XML documents (NVD, GNOME Commit).
The vulnerability exists in the XML validation functionality when using xmlTextReaderRead() with XMLPARSEDTDATTR and XMLPARSEDTDVALID flags enabled. The issue occurs in valid.c where a use-after-free condition can arise during the handling of ID and IDREF attributes after entity expansion in xmlRemoveID. The vulnerability has a CVSS v3.1 Base Score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).
A successful exploitation of this vulnerability could lead to denial of service (DoS) through application crashes. When using xmlReader with validation enabled, it could also result in disclosure of memory via the error channel (typically stderr). The security impact of xmlGetID returning a pointer to freed memory depends on the specific application implementation (NetApp Advisory).
The vulnerability has been fixed in libxml2 version 2.9.13. Users should upgrade to this version or later. Multiple vendors have released patches for their affected products including Apple, Oracle, Debian, and Red Hat (Debian Advisory, Fedora Update).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."