CVE-2018-1285
publishedlog4net: XXE in applications that accept arbitrary configuration files from users
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Apache log4netApache log4net up to 2.0.8 | Affected | Not stated | apache |
| Debian | jessie | log4net | Advisory build | 1.2.10+dfsg-6+deb8u1 | DLA-2211-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4netaarch64 | Advisory build | 1.2.10-78.1 | OPENSUSE-SU-2024:12311-1 |
| Ubuntu | bionic | liblog4net1.2-cil | Advisory build | 1.2.10+dfsg-7ubuntu0.18.04.1 | USN-4699-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4netppc64le | Advisory build | 1.2.10-78.1 | OPENSUSE-SU-2024:12311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4nets390x | Advisory build | 1.2.10-78.1 | OPENSUSE-SU-2024:12311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4netx86_64 | Advisory build | 1.2.10-78.1 | OPENSUSE-SU-2024:12311-1 |
| Ubuntu | bionic | log4net | Advisory build | 1.2.10+dfsg-7ubuntu0.18.04.1 | USN-4699-1 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | liblog4net1.2-cil | Advisory build | 1.2.10+dfsg-7ubuntu0.20.04.1 | USN-4699-1 |
| Ubuntu | focal | log4net | Advisory build | 1.2.10+dfsg-7ubuntu0.20.04.1 | USN-4699-1 |
| Ubuntu | xenial | liblog4net1.2-cil | Advisory build | 1.2.10+dfsg-7ubuntu0.16.04.1 | USN-4699-1 |
| Ubuntu | xenial | log4net | Advisory build | 1.2.10+dfsg-7ubuntu0.16.04.1 | USN-4699-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Apache log4net | Apache log4net up to 2.0.8 (affected) | apache · cna |
Weaknesses
1- XXE
References
17- https://issues.apache.org/jira/browse/LOG4NET-575
- [logging-dev] 20200906 [VOTE] [log4net] Release 2.0.10 https://lists.apache.org/thread.html/r00b16ac5e0bbf7009a0d167ed58f3f94d0033b0f4b3e3d5025cc4872%40%3Cdev.logging.apache.org%3E
- [logging-dev] 20200525 [CVE-2018-1285] XXE vulnerability in Apache log4net https://lists.apache.org/thread.html/r33564de316d4e4ba0fea1d4d079e62cde1ffe64369c1157243d840d9%40%3Cdev.logging.apache.org%3E
- [logging-dev] 20210817 Solution for vulnerability https://lists.apache.org/thread.html/r525cbbd7db0aef4a114cf60de8439aa285decc34904d42a7f14f39c3%40%3Cdev.logging.apache.org%3E
- [logging-dev] 20200617 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net https://lists.apache.org/thread.html/r6543acafca3e2d24ff4b0c364a91540cb9378977ffa8d37a03ab4b0f%40%3Cdev.logging.apache.org%3E
- [logging-dev] 20200730 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net https://lists.apache.org/thread.html/r7ab6b6e702f11a6f77b0db2af2d5e5532f56ae4b99b5fe73c5200b6a%40%3Cdev.logging.apache.org%3E
- [logging-dev] 20200525 Re: [CVE-2018-1285] XXE vulnerability in Apache log4net https://lists.apache.org/thread.html/r9de86a185575e6c5f92e2a70a1d2e2e9514dc4341251577aac8e3866%40%3Cdev.logging.apache.org%3E
- [logging-dev] 20200826 Re: log4net.dll - does 2.0.9 fix CVE-2018-1285 https://lists.apache.org/thread.html/rd2d72a017e238d1f345f9d14e075c81be16fc68a41c9e9ad9e29a732%40%3Cdev.logging.apache.org%3E
- [logging-dev] 20200826 log4net.dll - does 2.0.9 fix CVE-2018-1285 https://lists.apache.org/thread.html/rdbac24c945ca5c69cd5348b5ac023bc625768f653335de146e09ae2d%40%3Cdev.logging.apache.org%3E
- https://lists.apache.org/thread.html/reab1c277c95310bad1038255e0757857b2fbe291411b4fa84552028a%40%3Cdev.logging.apache.org%3E
- FEDORA-2020-cfc319e067 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2U233HVAQDSZ2PRG4XSGDASLY3J6ALH/
- FEDORA-2020-73d380e9b9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKL2LPINAI6BCMXOH4V4HVHGLUXIWOFO/
- FEDORA-2020-847775bf79 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT2DNNSW7C7FNK3MA3SLEUHGW5USYZKE/
- https://security.netapp.com/advisory/ntap-20220909-0001/
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2021.html
Provider assertions
2apache · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5016eea2d34825e8a249a4d78da3e6938fae1cbe730ab46cb05416ba6ef93127
- Ingested
- 23 Sep 2026, 07:44:16 UTC
- Source record
- Official CVE record