Update dependency junit:junit to v4.13.1 [SECURITY]#1049
Conversation
|
Renovate Jira issue ID: SLE-1495 |
Summary
Straightforward security patch: updates JUnit from 4.12 to 4.13.1 in a single pom.xml file to address CVE-2020-15250, a local information disclosure vulnerability in the TemporaryFolder test rule on Unix-like systems. The change is minimal and mechanical — just one version bump in the test integration suite's dependency declaration. No code changes required. What reviewers should knowWhere to look:
What to verify:
Context on the vulnerability:
The author's description covers this well — use it to assess relevance to your use case.
|
31edfda to
766d451
Compare
|





This PR contains the following updates:
4.12→4.13.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
TemporaryFolder on unix-like systems does not limit access to created files
CVE-2020-15250 / GHSA-269g-pwp5-87pp
More information
Details
Vulnerability
The JUnit4 test rule TemporaryFolder contains a local information disclosure vulnerability.
Example of vulnerable code:
Impact
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.
When analyzing the impact of this vulnerability, here are the important questions to ask:
This may apply in CI/CD environments but normally won't be 'yes' for personal developer machines.
Patches
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.
Workarounds
If you are unable to patch, or are stuck running on Java 1.6, specifying the
java.io.tmpdirsystem environment variable to a directory that is exclusively owned by the executing user will fix this vulnerability.References
Similar Vulnerabilities
For more information
If you have any questions or comments about this advisory, please pen an issue in junit-team/junit4.
Severity
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: (in timezone CET)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.