Vulnerabilities / CVE-2018-1285

critical

CVE-2018-1285

Apache log4net versions before 2.0.10 do not disable XML external enti ...

Published Modified CWE 611
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
nuget::GitHub Security Advisory NuGetlog4net2.0.10
debian 10log4netno fix listed
debian 11log4net1.2.10+dfsg-8
debian 13log4net1.2.10+dfsg-8
debian 14log4net1.2.10+dfsg-8
debian 8log4net1.2.10+dfsg-6+deb8u1
debian 9log4netno fix listed
echolog4net1.2.10+dfsg-8
ubuntu 16.04log4net1.2.10+dfsg-7ubuntu0.16.04.1
ubuntu 16.04-ESMlog4net1.2.10+dfsg-7ubuntu0.16.04.1
ubuntu 18.04log4net1.2.10+dfsg-7ubuntu0.18.04.1
ubuntu 18.04-ESMlog4net1.2.10+dfsg-7ubuntu0.18.04.1
Show all 15 entries from 15 sources
SourcePackageFixed in
nuget::GitHub Security Advisory NuGetlog4net2.0.10
debian 10log4netno fix listed
debian 11log4net1.2.10+dfsg-8
debian 13log4net1.2.10+dfsg-8
debian 14log4net1.2.10+dfsg-8
debian 8log4net1.2.10+dfsg-6+deb8u1
debian 9log4netno fix listed
echolog4net1.2.10+dfsg-8
ubuntu 16.04log4net1.2.10+dfsg-7ubuntu0.16.04.1
ubuntu 16.04-ESMlog4net1.2.10+dfsg-7ubuntu0.16.04.1
ubuntu 18.04log4net1.2.10+dfsg-7ubuntu0.18.04.1
ubuntu 18.04-ESMlog4net1.2.10+dfsg-7ubuntu0.18.04.1
ubuntu 20.04log4net1.2.10+dfsg-7ubuntu0.20.04.1
ubuntu 20.04-ESMlog4net1.2.10+dfsg-7ubuntu0.20.04.1
ubuntu 20.10log4net1.2.10+dfsg-7ubuntu0.20.10.1

References

All 29 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.