Use After Free Affecting libxml2-debuginfo package, versions <0:2.9.1-6.6.44.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.83% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-LIBXML2DEBUGINFO-6045944
  • published4 Nov 2023
  • disclosed6 Oct 2023

Introduced: 6 Oct 2023

CVE-2023-45322  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 libxml2-debuginfo to version 0:2.9.1-6.6.44.amzn1 or higher.
This issue was patched in ALAS-2023-1874.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml2-debuginfo package and not the libxml2-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. NOTE: the vendor's position is "I don't think these issues are critical enough to warrant a CVE ID ... because an attacker typically can't control when memory allocations fail."

CVSS Base Scores

version 3.1