Use After Free Affecting libxml2 package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.08% (37th 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-UNMANAGED-LIBXML2-5952341
  • published10 Oct 2023
  • disclosed6 Oct 2023
  • creditBachir Bendrissou

Introduced: 6 Oct 2023

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Use After Free via the xmlUnlinkNode function in tree.c. An attacker can cause a denial of service or potentially execute arbitrary code by exploiting this vulnerability.

Note:

This is only exploitable if a certain memory allocation fails.

** Disputed **

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."

PoC

./libxml2/xmllint --copy --html --maxmem 315229 input.xml

CVSS Scores

version 3.1