You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2021/03/24 18:53:00 UTC
[jira] [Commented] (HADOOP-17602) Upgrade JUnit to 4.13.1
[ https://issues.apache.org/jira/browse/HADOOP-17602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308116#comment-17308116 ]
Steve Loughran commented on HADOOP-17602:
-----------------------------------------
There's about 40 uses of TemporaryFolder in the project test suites, so yes, we should upgrade.
it's only a security issue if
* test writes sensitive data
* host is multiuser
* tests run with java.io.tmpdir set to the default of /tmp. Doesn't look like our builds change this value.
So: enough risk the update is justified, especially as this is a test JAR update only
> Upgrade JUnit to 4.13.1
> -----------------------
>
> Key: HADOOP-17602
> URL: https://issues.apache.org/jira/browse/HADOOP-17602
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, security, test
> Reporter: Ahmed Hussein
> Assignee: Ahmed Hussein
> Priority: Major
> Attachments: HADOOP-17602.001.patch
>
>
> A reported vulnerability reported in JUnit4.7-4.13.
> The JUnit4 test rule [TemporaryFolder on unix-like systems does not limit access to created files|https://github.com/junit-team/junit4/security/advisories/GHSA-269g-pwp5-87pp]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org