Information Exposure Affecting junit:junit Open this link in a new tab package, versions [4.7,4.13.1)


0.0
low
  • Exploit Maturity

    Proof of concept

  • Attack Complexity

    High

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

    SNYK-JAVA-JUNIT-1017047

  • published

    13 Oct 2020

  • disclosed

    12 Oct 2020

  • credit

    Jonathan Leitschuh

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.