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


high

Snyk CVSS

    Attack Complexity High
    Availability High

    Threat Intelligence

    EPSS 0.05% (18th percentile)
Expand this section
NVD
6.5 medium
Expand this section
Red Hat
5.9 medium
Expand this section
SUSE
6.5 medium

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 ID SNYK-AMZN201803-LIBXML2-6045883
  • published 4 Nov 2023
  • disclosed 6 Oct 2023

How to fix?

Upgrade Amazon-Linux:2018.03 libxml2 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 package and not the libxml2 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."