Use After Free Affecting libxml2-debugsource package, versions <0:2.10.4-1.amzn2023.0.6


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-AMZN2023-LIBXML2DEBUGSOURCE-6045793
  • 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:2023 libxml2-debugsource to version 0:2.10.4-1.amzn2023.0.6 or higher.
This issue was patched in ALAS2023-2023-411.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml2-debugsource package and not the libxml2-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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