Pin bouncycastle 1.84 in kotlinBouncyCastleConfiguration#7453
Merged
Jenson3210 merged 1 commit intomainfrom Apr 22, 2026
Merged
Pin bouncycastle 1.84 in kotlinBouncyCastleConfiguration#7453Jenson3210 merged 1 commit intomainfrom
Jenson3210 merged 1 commit intomainfrom
Conversation
The Kotlin Gradle plugin resolves org.bouncycastle:bcpg-jdk18on, bcpkix-jdk18on, and bcprov-jdk18on at version 1.80 into an internal configuration used for library publishing validation. Those versions are flagged for CVE-2026-3505, CVE-2026-5598, CVE-2026-5588, and CVE-2026-0636, all patched in 1.84. The configuration is not used at runtime and the jars are not shipped, but overriding the version removes the SOC2 scan noise.
steve-aom-elliott
approved these changes
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Kotlin Gradle plugin creates an internal
kotlinBouncyCastleConfigurationused for library publishing validation, which resolves:org.bouncycastle:bcpg-jdk18on:1.80org.bouncycastle:bcpkix-jdk18on:1.80org.bouncycastle:bcprov-jdk18on:1.80These versions are flagged for four CVEs, all patched in 1.84:
The configuration is not used at compile time and the jars are not shipped. This override keeps the SOC2 dependency-check report clean.
Test plan
./gradlew :rewrite-kotlin:dependencies --configuration kotlinBouncyCastleConfigurationreports1.80 -> 1.84on all three BC artifacts locally.