CVE-2018-1285
Publication date 11 May 2020
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| log4net | 25.10 questing |
Not affected
|
| 25.04 plucky |
Not affected
|
|
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Vulnerable
|
|
| 20.04 LTS focal |
Fixed 1.2.10+dfsg-7ubuntu0.20.04.1
|
|
| 18.04 LTS bionic |
Fixed 1.2.10+dfsg-7ubuntu0.18.04.1
|
|
| 16.04 LTS xenial |
Fixed 1.2.10+dfsg-7ubuntu0.16.04.1
|
|
| 14.04 LTS trusty | Not in release |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-4699-1
- Apache Log4net vulnerability
- 19 January 2021
Other references
- https://issues.apache.org/jira/browse/LOG4NET-575
- https://github.com/apache/logging-log4net/commit/d0b4b0157d4af36b23c24a23739c47925c3bd8d7
- https://lists.apache.org/thread.html/reab1c277c95310bad1038255e0757857b2fbe291411b4fa84552028a%40%3Cdev.logging.apache.org%3E
- https://www.cve.org/CVERecord?id=CVE-2018-1285