Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-15250

published medium CVSS 3.1 · 4.4

Information disclosure in JUnit4

Published
12 Oct 2020, 17:55:13 UTC
Updated
07 Oct 2026, 20:08:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
junit-team — junit4< 4.13.1 Affected Not stated GitHub_M
Debian stretch junit4 Advisory build 4.12-4+deb9u1 DLA-2426-1
Ubuntu bionic junit4 Advisory build 4.12-8~18.04.1 USN-4731-1
Alpine Linux edge junit Fixed 4.13.1-r0 Package fix record
Ubuntu focal junit4 Advisory build 4.12-8ubuntu0.20.04.1 USN-4731-1
Ubuntu xenial junit4 Advisory build 4.12-4ubuntu1.1 USN-4731-1
Alpine Linux v3.13 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.14 junit Fixed 4.13.1-r0 Package fix record
Show 10 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.15 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.16 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.17 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.18 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.19 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.20 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.21 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.22 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.23 junit Fixed 4.13.1-r0 Package fix record
Alpine Linux v3.24 junit Fixed 4.13.1-r0 Package fix record

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

17

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.4 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
junit-team junit4 < 4.13.1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (GitHub_M · cna)

References

39

Provider assertions

3

GitHub_M · cna

Information disclosure in JUnit4

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
ebe87296ecfd419bf64688a3db13aa7ce0ad208f26bed24ed6c5a852c3fb38a5
Ingested
07 Oct 2026, 22:32:49 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected