XML External Entity (XXE) Injection Affecting libxml2 package, versions [,2.9.5)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.53% (78th 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 Learn

Learn about XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBXML2-3004083
  • published26 Jan 2022
  • disclosed19 Feb 2018
  • creditUnknown

Introduced: 19 Feb 2018

CVE-2017-7375  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.9.5 or higher.

Overview

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection. A flaw in libxml2 allows remote XML entity inclusion with default parser flags (i.e., when the caller did not request entity substitution, DTD validation, external DTD subset loading, or default DTD attributes). Depending on the context, this may expose a higher-risk attack surface in libxml2 not usually reachable with default parser flags, and expose content from local files, HTTP, or FTP servers (which might be otherwise unreachable).

CVSS Scores

version 3.1