---
title: "CVE-2018-1285\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-1285?format=md
keywords: index, follow
---

# CVE-2018-1285

Publication date 11 May 2020

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2018-1285?format=md#impact-score)

Toggle side navigation

## 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

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| log4net | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Ignored end of life, was needed |
| 22.04 LTS jammy | Vulnerable |
| 21.10 impish | Ignored end of life |
| 21.04 hirsute | Ignored end of life |
| 20.10 groovy | Fixed 1.2.10+dfsg-7ubuntu0.20.10.1 |
| 20.04 LTS focal | Fixed 1.2.10+dfsg-7ubuntu0.20.04.1 |
| 19.10 eoan | Ignored end of life |
| 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 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1285)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-1285)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-1285)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-1285)

### Related Ubuntu Security Notices (USN)

+ [USN-4699-1](https://usn.ubuntu.com/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>
