VDB

CVE-2018-1285

CVE-2018-1285 PUBLISHED

XML External Entity attack in log4net

Reported by apache · Published May 11, 2020

log4net is fixed in 2.0.10 (NuGet)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
log4netNuGet2.0.10
org.openengsb.wrapped.csharp:log4netMaven Central2.0.8

Affected products

VendorProductVersions
n/aApache log4netApache log4net up to 2.0.8
n/aApache log4net2.0.8

Timeline

  • May 11, 2020 CVE Published
  • May 11, 2020 PoC Published (5 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 5, 2024 CVE Updated
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-1285
vulnetix vdb fixes CVE-2018-1285

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1285/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›