---
title: 'USN-4731-1: JUnit 4 vulnerability | Ubuntu security notices'
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/notices/USN-4731-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-4731-1

---

# USN-4731-1: JUnit 4 vulnerability

Publication date

10 February 2021

Overview

The system could be made to expose sensitive information.

Releases

[20.10](https://ubuntu.com/security/notices?release=groovy)
[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)

---

Open side navigation

## Packages

* [junit4](https://ubuntu.com/security/cves?package=junit4) - Simple framework to write repeatable tests

## Details

It was discovered that JUnit 4 contains a local information disclosure
vulnerability. An attacker could possibly use this issue to obtain sensitive
information.

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 20.10 groovy | [junit4](https://launchpad.net/ubuntu/+source/junit4) –  [4.12-8ubuntu0.20.10.1](https://launchpad.net/ubuntu/+source/junit4/4.12-8ubuntu0.20.10.1) | | |
| [junit4-doc](https://launchpad.net/ubuntu/+source/junit4) –  [4.12-8ubuntu0.20.10.1](https://launchpad.net/ubuntu/+source/junit4/4.12-8ubuntu0.20.10.1) | | |
| 20.04 LTS focal | [junit4](https://launchpad.net/ubuntu/+source/junit4) –  [4.12-8ubuntu0.20.04.1](https://launchpad.net/ubuntu/+source/junit4/4.12-8ubuntu0.20.04.1) | | |
| [junit4-doc](https://launchpad.net/ubuntu/+source/junit4) –  [4.12-8ubuntu0.20.04.1](https://launchpad.net/ubuntu/+source/junit4/4.12-8ubuntu0.20.04.1) | | |
| 18.04 LTS bionic | [junit4](https://launchpad.net/ubuntu/+source/junit4) –  [4.12-8~18.04.1](https://launchpad.net/ubuntu/+source/junit4/4.12-8~18.04.1) | | |
| [junit4-doc](https://launchpad.net/ubuntu/+source/junit4) –  [4.12-8~18.04.1](https://launchpad.net/ubuntu/+source/junit4/4.12-8~18.04.1) | | |
| 16.04 LTS xenial | [junit4](https://launchpad.net/ubuntu/+source/junit4) –  [4.12-4ubuntu1.1](https://launchpad.net/ubuntu/+source/junit4/4.12-4ubuntu1.1) | | |
| [junit4-doc](https://launchpad.net/ubuntu/+source/junit4) –  [4.12-4ubuntu1.1](https://launchpad.net/ubuntu/+source/junit4/4.12-4ubuntu1.1) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2020-15250](https://ubuntu.com/security/CVE-2020-15250)
