Skip to content

TEZ-4458:Upgrade Bouncy Castle to 1.70 due to high CVEs - #253

Merged
abstractdog merged 1 commit into
apache:masterfrom
mayankkunwar:TEZ-4458
Dec 2, 2022
Merged

TEZ-4458:Upgrade Bouncy Castle to 1.70 due to high CVEs#253
abstractdog merged 1 commit into
apache:masterfrom
mayankkunwar:TEZ-4458

Conversation

@mayankkunwar

Copy link
Copy Markdown
Contributor

No description provided.

@tez-yetus

This comment was marked as outdated.

@tez-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec32m 20sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚mvninstall15m 22smaster passed
+1 💚compile2m 32smaster passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04
+1 💚compile2m 16smaster passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08
+1 💚javadoc2m 45smaster passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04
+1 💚javadoc2m 4smaster passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08
_ Patch Compile Tests _
+1 💚mvninstall4m 1sthe patch passed
+1 💚compile2m 36sthe patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04
+1 💚javac2m 36sthe patch passed
+1 💚compile2m 19sthe patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08
+1 💚javac2m 19sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
+1 💚javadoc2m 22sthe patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04
+1 💚javadoc2m 4sthe patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08
_ Other Tests _
+1 💚unit73m 11sroot in the patch passed.
+1 💚asflicense0m 59sThe patch does not generate ASF License warnings.
146m 10s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-253/2/artifact/out/Dockerfile
GITHUB PR#253
JIRA IssueTEZ-4458
Optional Testsdupname asflicense javac javadoc unit xml compile
unameLinux 133a5f87b5f8 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/tez.sh
git revisionmaster / 25fc8c4
Default JavaPrivate Build-1.8.0_352-8u352-ga-1~20.04-b08
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_352-8u352-ga-1~20.04-b08
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-253/2/testReport/
Max. process+thread count1843 (vs. ulimit of 5500)
modulesC: . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-253/2/console
versionsgit=2.25.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@mayankkunwar

Copy link
Copy Markdown
ContributorAuthor

This is just a dependency upgrade, which should not require any additional tests. The changes are tested through existing unit tests.

@abstractdog
abstractdog self-requested a review December 2, 2022 08:20
Comment threadpom.xml
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just wondering: what kind of test failure came when bcpkix wasn't included?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is the test failure report: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-253/1/testReport/
Tests were complaining that they were not able to find org/bouncycastle/asn1/bsi/BSIObjectIdentifiers

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, thanks for clarifying!

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And with this I also checked that hadoop and other dependencies under TEZ dependency tree and they were using older version of bcpkix. So I thought to upgrade that as well

@abstractdog
abstractdog self-requested a review December 2, 2022 08:38

@abstractdogabstractdog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@abstractdog
abstractdog merged commit 34d6810 into apache:masterDec 2, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@mayankkunwar@tez-yetus@abstractdog