XML external entity injection in Apache log4net
Priority MEDIUM 59CWE-611Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.17823 97th percentileScored 2026-11-07
Fix Fixed log4net (NuGet): 2.0.10
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Apache log4net | Apache log4net up to 2.0.8 | — | No fix listed | CNA |
| — | log4net (NuGet) | before 2.0.10 | 2.0.10 | Patch available | GHSA-2cwj-8chv-9pp9 |
- Apache log4net Vendor— Affected Apache log4net up to 2.0.8 Fixed in — No fix listed CNA
- log4net (NuGet) Vendor— Affected before 2.0.10 Fixed in 2.0.10 Patch available GHSA-2cwj-8chv-9pp9
CPE configurations NVD · 11
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:log4net:*:*:*:*:*:*:*:* | before 2.0.10 | Vulnerable | Apache |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:a:oracle:application_testing_suite:13.3.0.1:*:*:*:*:*:*:* | 13.3.0.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:hospitality_opera_5:5.5:*:*:*:*:*:*:* | 5.5 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:hospitality_opera_5:5.6:*:*:*:*:*:*:* | 5.6 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:hospitality_simphony:18.2.7.2:*:*:*:*:*:*:* | 18.2.7.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:hospitality_simphony:19.1.3:*:*:*:*:*:*:* | 19.1.3 | Vulnerable | Oracle |
| cpe:2.3:a:netapp:manageability_software_development_kit:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:a:apache:log4net:*:*:*:*:*:*:*:* Versions before 2.0.10 Vulnerable ·Apache
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:a:oracle:application_testing_suite:13.3.0.1:*:*:*:*:*:*:* Versions 13.3.0.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:hospitality_opera_5:5.5:*:*:*:*:*:*:* Versions 5.5 Vulnerable ·Oracle
- cpe:2.3:a:oracle:hospitality_opera_5:5.6:*:*:*:*:*:*:* Versions 5.6 Vulnerable ·Oracle
- cpe:2.3:a:oracle:hospitality_simphony:18.2.7.2:*:*:*:*:*:*:* Versions 18.2.7.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:hospitality_simphony:19.1.3:*:*:*:*:*:*:* Versions 19.1.3 Vulnerable ·Oracle
- cpe:2.3:a:netapp:manageability_software_development_kit:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
- Fix · GHSA-2cwj-8chv-9pp9 log4net (NuGet) Fixed in 2.0.10 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1285
- 2026-10-03 Alias added: GHSA-2cwj-8chv-9pp9
References
Advisory 9
- FEDORA-2020-cfc319e067
- FEDORA-2020-73d380e9b9
- FEDORA-2020-847775bf79
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://lists.apache.org/thread.html/reab1c277c95310bad1038255e0757857b2fbe291411b4fa84552028a%40%3Cdev.logging.apache.org%3E
- https://issues.apache.org/jira/browse/LOG4NET-575
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://security.netapp.com/advisory/ntap-20220909-0001/
- https://nvd.nist.gov/vuln/detail/CVE-2018-1285
Other 23
- [logging-dev] 20200525 [CVE-2018-1285] XXE vulnerability in Apache log4net
- [logging-dev] 20200525 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net
- [logging-dev] 20200617 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net
- [logging-dev] 20200730 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net
- [logging-dev] 20200826 log4net.dll - does 2.0.9 fix CVE-2018-1285
- [logging-dev] 20200826 Re: log4net.dll - does 2.0.9 fix CVE-2018-1285
- [logging-dev] 20200906 [VOTE] [log4net] Release 2.0.10
- [logging-dev] 20210817 Solution for vulnerability
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2018-1285
- https://www.nuget.org/packages/log4net
- https://security.netapp.com/advisory/ntap-20220909-0001
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VT2DNNSW7C7FNK3MA3SLEUHGW5USYZKE
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VKL2LPINAI6BCMXOH4V4HVHGLUXIWOFO
- https://lists.fedoraproject.org/archives/list/[email protected]/message/M2U233HVAQDSZ2PRG4XSGDASLY3J6ALH
- https://lists.apache.org/thread.html/rdbac24c945ca5c69cd5348b5ac023bc625768f653335de146e09ae2d@%3Cdev.logging.apache.org%3E
- https://lists.apache.org/thread.html/rd2d72a017e238d1f345f9d14e075c81be16fc68a41c9e9ad9e29a732@%3Cdev.logging.apache.org%3E
- https://lists.apache.org/thread.html/r9de86a185575e6c5f92e2a70a1d2e2e9514dc4341251577aac8e3866@%3Cdev.logging.apache.org%3E
- https://lists.apache.org/thread.html/r7ab6b6e702f11a6f77b0db2af2d5e5532f56ae4b99b5fe73c5200b6a@%3Cdev.logging.apache.org%3E
- https://lists.apache.org/thread.html/r6543acafca3e2d24ff4b0c364a91540cb9378977ffa8d37a03ab4b0f@%3Cdev.logging.apache.org%3E
- https://lists.apache.org/thread.html/r525cbbd7db0aef4a114cf60de8439aa285decc34904d42a7f14f39c3@%3Cdev.logging.apache.org%3E
- https://lists.apache.org/thread.html/r33564de316d4e4ba0fea1d4d079e62cde1ffe64369c1157243d840d9@%3Cdev.logging.apache.org%3E
- https://lists.apache.org/thread.html/r00b16ac5e0bbf7009a0d167ed58f3f94d0033b0f4b3e3d5025cc4872@%3Cdev.logging.apache.org%3E
- https://github.com/apache/logging-log4net
Sources
- CVE-2018-1285 · CVE Program
- CVE-2018-1285 · NVD
- FIRST EPSS
- GHSA-2cwj-8chv-9pp9 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1285 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences