CVE-2020-15250
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2020-10-12
- Sist endret
- 2026-10-07
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
1.7 %
høyere enn 75 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Apache | Pluto | < 3.1.1 | Berørt |
| Debian | Debian Linux | 9.0 | Berørt |
| Junit | Junit4 | ≥ 4.7, < 4.13.1 | Berørt |
| Oracle | Communications Cloud Native Core Policy | 1.14.0 | Berørt |
Svakhetstype
-
CWE-732: Incorrect Permission Assignment for Critical Resource
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
-
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
- T1007: System Service Discovery
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1033: System Owner/User Discovery
- T1036.005: Match Legitimate Resource Name or Location
- T1046: Network Service Discovery
- T1049: System Network Connections Discovery
- T1057: Process Discovery
- T1069: Permission Groups Discovery
- T1082: System Information Discovery
- T1083: File and Directory Discovery
- T1087: Account Discovery
- T1111: Multi-Factor Authentication Interception
- T1120: Peripheral Device Discovery
- T1124: System Time Discovery
- T1134.001: Token Impersonation/Theft
- T1135: Network Share Discovery
- T1217: Browser Information Discovery
- T1505.005: Terminal Services DLL
- T1548: Abuse Elevation Control Mechanism
Referanser
- https://github.com/junit-team/junit4/blob/7852b90cfe1cea1e0cdaa19d490c83f0d8684b50/doc/Re…
- https://github.com/junit-team/junit4/commit/610155b8c22138329f0723eec22521627dbc52ae
- https://github.com/junit-team/junit4/issues/1676
- https://github.com/junit-team/junit4/security/advisories/GHSA-269g-pwp5-87pp
- https://junit.org/junit4/javadoc/4.13/org/junit/rules/TemporaryFolder.html
- https://lists.debian.org/debian-lts-announce/2020/11/msg00003.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://github.com/junit-team/junit4/blob/7852b90cfe1cea1e0cdaa19d490c83f0d8684b50/doc/Re…
- https://github.com/junit-team/junit4/commit/610155b8c22138329f0723eec22521627dbc52ae
- https://github.com/junit-team/junit4/issues/1676
- https://github.com/junit-team/junit4/security/advisories/GHSA-269g-pwp5-87pp
- https://junit.org/junit4/javadoc/4.13/org/junit/rules/TemporaryFolder.html
- https://lists.debian.org/debian-lts-announce/2020/11/msg00003.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://lists.apache.org/thread.html/r01110833b63616ddbef59ae4e10c0fbd0060f0a51206defd4cb…
- https://lists.apache.org/thread.html/r09cfbb5aedd76023691bbce9ca4ce2e16bb07dd37554a17efc1…
- https://lists.apache.org/thread.html/r1209986f79359b518d09513ff05a88e5b3c398540e775edea76…
- https://lists.apache.org/thread.html/r29d703d1986d9b871466ff24082a1828ac8ad27bb0965a93a38…
- https://lists.apache.org/thread.html/r2b78f23bc2711a76a7fc73ad67b7fcd6817c5cfccefd6f30a4f…
- https://lists.apache.org/thread.html/r30f502d2f79e8d635361adb8108dcbb73095163fcbd776ee798…
Relatert hos Berigo
Artikler
-
Hackergruppe hevder å ha stjålet data om FBI-ansatte gjennom PeopleSoft
Samme produkt
2026-09-26
ShinyHunters hevder å ha brutt seg inn hos FBI gjennom et uoppdatert hull i Oracle PeopleSoft og hentet ut mellom to og tre terabyte om ansatte og jo…
-
Hullet i proxymodulen foran Oracle WebLogic utnyttes nå
Samme produkt
2026-08-25
CISA førte 24. august sårbarheten CVE-2026-21962 opp i katalogen over kjente utnyttede sårbarheter, etter bevis for aktiv utnyttelse. Feilen ligger i…
-
Kryptobiblioteket i Python har fått algoritmene som skal tåle kvantemaskiner
Samme produkt
2026-08-18
Trail of Bits har lagt ML-KEM og ML-DSA inn i pyca/cryptography, finansiert av Sovereign Tech Agency. Biblioteket er den ellevte mest nedlastede pakk…
-
Angrepsforsøk mot GeoServer startet timer etter at feilen ble offentlig kjent
Samme produkt
2026-08-17
En sårbarhet i GeoServer ble offentliggjort på X 12. august 2026, før prosjektet selv var klart med en rettelse. watchTowr oppgir at utnyttelsesforsø…
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.