Insecure Temporary File in JUnit - CVE-2020-15250

 

Insecure Temporary File in JUnit - CVE-2020-15250

Published: October 12, 2020 / Updated: January 7, 2021


Vulnerability identifier: #VU49330
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2020-15250
CWE-ID: CWE-377
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: JUnit
Affected software:
JUnit

Detailed vulnerability description

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to the application is using the test rule TemporaryFolder that stores sensitive information in temporary files in the system temporary directory, accessible by other system users. A local user can read temporary files and obtain sensitive information, related to the application.


How to mitigate CVE-2020-15250

Install updates from vendor's website.

Sources