CVE-2018-1285Apache Log4net
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Log4net We alert you by email or Slack (account required).
- Priority
- 76
- CVSS 3.1
- 9.8
- EPSS
- 17.8% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- May 11, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Log4net.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | log4net |
< 2.0.10 |
2.0.10 |
dotnet add package log4net --version 2.0.10 |
Per OSV / GitHub Advisories (GHSA-2cwj-8chv-9pp9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | log4net | < 2.0.10 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| oracle | application_testing_suite | 13.3.0.1 |
| oracle | hospitality_opera_5 | 5.5 |
| oracle | hospitality_opera_5 | 5.6 |
| oracle | hospitality_simphony | 18.2.7.2 |
| oracle | hospitality_simphony | 19.1.3 |
| netapp | manageability_software_development_kit | all |
| netapp | snapcenter | all |
Official sources
References
Links published by the sources. Open them with care.
- issues.apache.org Issue Tracking Vendor Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org Mailing List Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- www.oracle.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Third Party Advisory