Information Exposure Affecting junit:junit package, versions [4.7,4.13.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-JUNIT-1017047
  • published13 Oct 2020
  • disclosed12 Oct 2020
  • creditJonathan Leitschuh

Introduced: 12 Oct 2020

CVE-2020-15250  (opens in a new tab)
CWE-200  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade junit:junit to version 4.13.1 or higher.

Overview

junit:junit is an unit testing framework for Java

Affected versions of this package are vulnerable to Information Exposure. The JUnit4 test rule TemporaryFolder contains a local information disclosure vulnerability. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system.

Note: This vulnerability does not allow other users to overwrite the contents of these directories or files. This only affects Unix like systems.

CVSS Scores

version 3.1