fix(deps): update dependency junit:junit to v4.13.1 [security] - #376
fix(deps): update dependency junit:junit to v4.13.1 [security]#376renovate[bot] wants to merge 1 commit into
Conversation
Test Results3 tests 0 ✅ 0s ⏱️ For more details on these failures, see this check. Results for commit 88d8ddb. ♻️ This comment has been updated with latest results. |
|
https://github.com/junit-team/junit4/wiki/Use-with-Gradle#junit-411-and-later implies the explicit dependency on hamcrest is no longer needed Maybe the explicit dependency pulls in the wrong version? |
c884eae to
e1ce08e
Compare
5106058 to
68c9b20
Compare
|
68c9b20 to
5fe33d2
Compare
5fe33d2 to
88d8ddb
Compare
This PR contains the following updates:
4.8.1→4.13.1TemporaryFolder 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 America/New_York)
🚦 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.