XML External Entity (XXE) Injection Affecting log4net package, versions <1.2.10+dfsg-8


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
17.82% (98th 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-DEBIAN14-LOG4NET-11760007
  • published10 Aug 2025
  • disclosed11 May 2020

Introduced: 11 May 2020

CVE-2018-1285  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Debian:14 log4net to version 1.2.10+dfsg-8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream log4net package and not the log4net package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files. This allows for XXE-based attacks in applications that accept attacker-controlled log4net configuration files.

References

CVSS Base Scores

version 3.1