CVE-2018-1285 in the critical feed json
XML External Entity attack in log4net
published 2020-05-11 6 y ago modified 2026-06-17 4 mo ago also GHSA-2cwj-8chv-9pp9 , EUVD-2021-0478
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 17.8%
- EPSS 17.8% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
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.
Patch / fix
- nuget log4net 2.0.10
- apache log4net 2.0.10
- log4net Debian 14, Debian 13 1.2.10+dfsg-8
debian advisories DEBIAN-CVE-2018-1285
- log4net Ubuntu 16.04 LTS 1.2.10+dfsg-7ubuntu0.16.04.1
- log4net Ubuntu 18.04 LTS 1.2.10+dfsg-7ubuntu0.18.04.1
- log4net Ubuntu 20.04 LTS 1.2.10+dfsg-7ubuntu0.20.04.1
ubuntu advisories UBUNTU-CVE-2018-1285
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- log4net openSUSE Tumbleweed 1.2.10-78.1
opensuse advisories openSUSE-SU-2024:12311-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
cisa ICSA-26-239-04 updated cvss 9.8
Applied Systems Engineering ASE2000 V2 Communications Test Set
-
Applied Systems Engineering ASE2000 >=2.25, <=2.37affected: fixed in 2.38, mitigation “Until the upgrade can be applied, the following interim measures reduce exposure:”
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
red hat product security vex CVE-2018-1285 updated cvss 8.8
log4net: XXE in applications that accept arbitrary configuration files from users
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-142-02 updated cvss 9.8
Rockwell Automation FactoryTalk Historian ThingWorx
-
Rockwell Automation 95057C-FTHTWXCT11 <=v4.02.00affected: vendor fix, mitigation “Rockwell Automation released a product update addressing this vulnerability:” rockwellautomation.custhelp.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
cisa ICSA-24-226-02 updated cvss 9.8
Rockwell Automation AADvance Standalone OPC-DA Server
-
Rockwell Automation AADvance Standalone OPC-DA Server >=v2.01.510affected: fixed in v2.02, mitigation “Rockwell Automation has released product updates addressing these vulnerabilities:” rockwellautomation.custhelp.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
cisa ICSMA-23-194-01 updated cvss 3.0
BD Alaris System with Guardrails Suite MX
-
Becton, Dickinson and Company (BD) BD Alaris Guardrails Editor <=12.1.2 Becton, Dickinson and Company (BD) BD Alaris Point-of-Care Unit (PCU) Model 8015 <=12.1.3affected: mitigation “BD has releaed BD Alaris System 12.3 with the following software:” bd.com
-
Becton, Dickinson and Company (BD) BD Alaris Systems Manager <=12.3 Becton, Dickinson and Company (BD) Calculation Services <=1.0affected: vendor fix, mitigation “BD has releaed BD Alaris System 12.3 with the following software:” bd.com
-
Becton, Dickinson and Company (BD) CQI Reporter <=10.17affected: mitigation “BD has releaed BD Alaris System 12.3 with the following software:” bd.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
Exploit prediction
17.82% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | log4net | <2.0.10 |
2.0.10 |
Affected products
- n/a Apache log4net
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/M2U233HVAQDSZ2PRG4XSGDASLY3J6ALH/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VKL2LPINAI6BCMXOH4V4HVHGLUXIWOFO/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VT2DNNSW7C7FNK3MA3SLEUHGW5USYZKE/
vendor-advisory
-
lists.apache.org
/thread.html/reab1c277c95310bad1038255e0757857b2fbe291411b4fa84552028a%40%3Cdev.logging.apache.org%3E
web, mailing-list, vendor-advisory
-
issues.apache.org
/jira/browse/LOG4NET-575
web, issue-tracking, vendor-advisory
-
lists.apache.org
/thread.html/r33564de316d4e4ba0fea1d4d079e62cde1ffe64369c1157243d840d9%40%3Cdev.logging.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r9de86a185575e6c5f92e2a70a1d2e2e9514dc4341251577aac8e3866%40%3Cdev.logging.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r6543acafca3e2d24ff4b0c364a91540cb9378977ffa8d37a03ab4b0f%40%3Cdev.logging.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r7ab6b6e702f11a6f77b0db2af2d5e5532f56ae4b99b5fe73c5200b6a%40%3Cdev.logging.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rdbac24c945ca5c69cd5348b5ac023bc625768f653335de146e09ae2d%40%3Cdev.logging.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rd2d72a017e238d1f345f9d14e075c81be16fc68a41c9e9ad9e29a732%40%3Cdev.logging.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r00b16ac5e0bbf7009a0d167ed58f3f94d0033b0f4b3e3d5025cc4872%40%3Cdev.logging.apache.org%3E
mailing-list
-
oracle.com
/security-alerts/cpujan2021.html
web, third-party-advisory
-
oracle.com
/security-alerts/cpuApr2021.html
web, third-party-advisory
-
lists.apache.org
/thread.html/r525cbbd7db0aef4a114cf60de8439aa285decc34904d42a7f14f39c3%40%3Cdev.logging.apache.org%3E
mailing-list
-
security.netapp.com
/advisory/ntap-20220909-0001/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1285
advisory
-
whitesourcesoftware.com
/vulnerability-database/CVE-2018-1285
web
-
nuget.org
/packages/log4net
web
-
snyk.io
/vuln/SNYK-DOTNET-LOG4NET-568897
web
-
security.netapp.com
/advisory/ntap-20220909-0001
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/VT2DNNSW7C7FNK3MA3SLEUHGW5USYZKE
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/VKL2LPINAI6BCMXOH4V4HVHGLUXIWOFO
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/M2U233HVAQDSZ2PRG4XSGDASLY3J6ALH
web
-
lists.apache.org
/thread.html/rdbac24c945ca5c69cd5348b5ac023bc625768f653335de146e09ae2d@%3Cdev.logging.apache.org%3E
web
-
lists.apache.org
/thread.html/rd2d72a017e238d1f345f9d14e075c81be16fc68a41c9e9ad9e29a732@%3Cdev.logging.apache.org%3E
web
-
lists.apache.org
/thread.html/r9de86a185575e6c5f92e2a70a1d2e2e9514dc4341251577aac8e3866@%3Cdev.logging.apache.org%3E
web
-
lists.apache.org
/thread.html/r7ab6b6e702f11a6f77b0db2af2d5e5532f56ae4b99b5fe73c5200b6a@%3Cdev.logging.apache.org%3E
web
-
lists.apache.org
/thread.html/r6543acafca3e2d24ff4b0c364a91540cb9378977ffa8d37a03ab4b0f@%3Cdev.logging.apache.org%3E
web
-
lists.apache.org
/thread.html/r525cbbd7db0aef4a114cf60de8439aa285decc34904d42a7f14f39c3@%3Cdev.logging.apache.org%3E
web
-
lists.apache.org
/thread.html/r33564de316d4e4ba0fea1d4d079e62cde1ffe64369c1157243d840d9@%3Cdev.logging.apache.org%3E
web
-
lists.apache.org
/thread.html/r00b16ac5e0bbf7009a0d167ed58f3f94d0033b0f4b3e3d5025cc4872@%3Cdev.logging.apache.org%3E
web
-
github.com
/apache/logging-log4net
package
Sources
- CVE List CVE-2018-1285
- GitHub Advisory GHSA-2cwj-8chv-9pp9
- NVD CVE-2018-1285
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.