CVE-2020-15250 Details
Description
In JUnit4 from version 4.7 and before 4.13.1, the 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. This vulnerability does not allow other users to overwrite the contents of these directories or files. This is purely an information disclosure vulnerability. This vulnerability impacts you if the JUnit tests write sensitive information, like API keys or passwords, into the temporary folder, and the JUnit tests execute in an environment where the OS has other untrusted users. Because certain JDK file system APIs were only added in JDK 1.7, this this fix is dependent upon the version of the JDK you are using. For Java 1.7 and higher users: this vulnerability is fixed in 4.13.1. For Java 1.6 and lower users: no patch is available, you must use the workaround below. If you are unable to patch, or are stuck running on Java 1.6, specifying the `java.io.tmpdir` system environment variable to a directory that is exclusively owned by the executing user will fix this vulnerability. For more information, including an example of vulnerable code, see the referenced GitHub Security Advisory.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| junit junit4 | >= 4.7, < 4.13.1 |
CPE
Remediation
| |
| debian debian linux | 9.0 |
CPE
Remediation
| |
| apache pluto | < 3.1.1 |
CPE
Remediation
| |
| oracle communications cloud native core policy | 1.14.0 |
CPE
Remediation
| |
Change History
29 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Modified | CVE |
| Oct 7, 2026 | CVE Modified | [email protected] |
| Oct 7, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| May 12, 2022 | Modified Analysis | [email protected] |
| Apr 20, 2022 | CVE Modified | [email protected] |
| Nov 18, 2021 | Modified Analysis | [email protected] |
| Oct 8, 2021 | CVE Modified | [email protected] |
| Oct 4, 2021 | CVE Modified | [email protected] |
| Oct 4, 2021 | CVE Modified | [email protected] |
| Jul 14, 2021 | CVE Modified | [email protected] |
| Jun 21, 2021 | CVE Modified | [email protected] |
| Apr 15, 2021 | CVE Modified | [email protected] |
| Apr 15, 2021 | CVE Modified | [email protected] |
| Apr 14, 2021 | CVE Modified | [email protected] |
| Apr 14, 2021 | CVE Modified | [email protected] |
| Apr 13, 2021 | CVE Modified | [email protected] |
| Apr 6, 2021 | CVE Modified | [email protected] |
| Feb 3, 2021 | CVE Modified | [email protected] |
| Nov 16, 2020 | Modified Analysis | [email protected] |
| Nov 15, 2020 | CVE Modified | [email protected] |
| Nov 2, 2020 | CVE Modified | [email protected] |
| Oct 30, 2020 | Initial Analysis | [email protected] |
| Oct 15, 2020 | CVE Modified | [email protected] |
| Oct 14, 2020 | CVE Modified | [email protected] |
| Oct 13, 2020 | CVE Modified | [email protected] |