Moderate: libxml2 security update
Summary
ALSA-2023:0173: Moderate: libxml2 security update. Affects libxml2 versions < 2.9.7-15.el8_7.1. Fixed in 2.9.7-15.el8_7.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The libxml2 library is a development toolbox that provides the implementation of various XML standards. It is commonly used in software applications to parse and manipulate XML data. The library is widely adopted and used in various operating systems and programming languages.
Vulnerability Detail
The libxml2 library is affected by two security vulnerabilities:
-
Integer overflows with XML_PARSE_HUGE (CVE-2022-40303): This vulnerability can lead to integer overflows when parsing XML files with the XML_PARSE_HUGE flag enabled. An attacker could exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code.
-
Dictionary corruption caused by entity reference cycles (CVE-2022-40304): This vulnerability can result in dictionary corruption when processing XML files with entity reference cycles. A remote attacker could leverage this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code.
How To Fix
Minimum fixed version
2.9.7-15.el8_7.1
This is the first release that contains the fix.
sudo dnf update libxml2
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
The libxml2 library is affected by two security vulnerabilities that can lead to a denial-of-service condition or potential code execution. It is recommended to update the libxml2 package to the latest version to mitigate these vulnerabilities. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for libxml2 →
FAQ
Libxml2 is a development toolbox providing the implementation of various XML standards. It is widely used in software applications to parse and manipulate XML data.
The security vulnerabilities in libxml2 are:
- Integer overflows with XML_PARSE_HUGE (CVE-2022-40303)
- Dictionary corruption caused by entity reference cycles (CVE-2022-40304)
These vulnerabilities can lead to a denial-of-service condition or potentially allow an attacker to execute arbitrary code.
To fix these vulnerabilities, update the libxml2 package to version 2.9.7-15.el8_7.1 or later.
You can find more information about these vulnerabilities in the CVE pages listed in the References section of the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for libxml2.