-
Notifications
You must be signed in to change notification settings - Fork 908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade groovy from 2.5.17 to 3.0.11 to fix CVE-2019-11358(7.5) #3346
upgrade groovy from 2.5.17 to 3.0.11 to fix CVE-2019-11358(7.5) #3346
Conversation
@@ -1138,6 +1138,7 @@ | |||
<mixAuditAnalyzerEnabled>false</mixAuditAnalyzerEnabled> | |||
<nugetconfAnalyzerEnabled>false</nugetconfAnalyzerEnabled> | |||
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled> | |||
<skipSystemScope>true</skipSystemScope> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have searched the project. we don't have <scope>system<scope>
import. Why need this config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be failed in jdk8.
https://github.com/apache/bookkeeper/runs/6953541383?check_suite_focus=true
Groovy 3.0 requires JDK9+ to build and JDK8 is the minimum version of the JRE that we support. See https://groovy-lang.org/releasenotes/groovy-3.0.html |
done |
@Shoothzj It doesn't work on 2.5.17, due to the groovy-testng dependent on testng 6.13.1, which has CVE issues. |
rerun failure checks |
@Shoothzj so we upgraded to groovy 3 but the JDK8 check passed, so I'm a bit confused now |
@nicoloboschi I have added the |
(cherry picked from commit 8d4b9e2)
Motivation
There is a CVE in testing, which was introduced by groovy.
Changes
Upgrade groovy version from 2.5.8 to 3.0.11