Back
CVE-2018-1285
Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files. This allows for…
Critical9.8EPSS 17.8%
- Published
- Updated
- Reserved
- Assigned by
- apache
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 17.8% · top 2.8% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
Apache log4net
- affected Apache log4net up to 2.0.8
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- NuGetlog4netGHSA-2cwj-8chv-9pp9 (opens in a new tab)
References (17)
- FEDORA-2020-cfc319e067 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2020-73d380e9b9 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2020-847775bf79 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [logging-dev] 20200525 [CVE-2018-1285] XXE vulnerability in Apache log4net (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [logging-dev] 20200525 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [logging-dev] 20200617 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [logging-dev] 20200730 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [logging-dev] 20200826 log4net.dll - does 2.0.9 fix CVE-2018-1285 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [logging-dev] 20200826 Re: log4net.dll - does 2.0.9 fix CVE-2018-1285 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [logging-dev] 20200906 [VOTE] [log4net] Release 2.0.10 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpujan2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.apache.org/thread.html/reab1c277c95310bad1038255e0757857b2fbe291411b4fa84552028a%40%3Cdev.logging.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- https://issues.apache.org/jira/browse/LOG4NET-575 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuApr2021.html (opens in a new tab)x_refsource_MISCx_transferred
- [logging-dev] 20210817 Solution for vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20220909-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2cwj-8chv-9pp9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-1285)Record last updated .