Repository navigation
fix(security): bump BouncyCastle to 1.86 - #34704
Conversation
Clears CVE-2026-18036 (timing attack) and CVE-2026-71891 (improper signature verification) in bcprov-jdk18on, both fixed in 1.86. bcpkix and bcutil move with it to keep the BouncyCastle artifacts aligned.
Code Review ✅ Approved🔴 High risk · Bumps cryptographic provider versions, including signature-verification security fixes Bumps BouncyCastle ( OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
…#34704, #35245) [2.0 backport] (#35246) * fix(security): bump postgresql to 42.7.14 CVE-2026-107314 (requireAuth not enforced, high) and CVE-2026-107315 (medium) are fixed in pgjdbc 42.7.14. The root postgres.connector.version property is the only place the driver version is set. (cherry picked from commit aa407bc) * fix(security): bump BouncyCastle to 1.86 Clears CVE-2026-18036 (timing attack) and CVE-2026-71891 (improper signature verification) in bcprov-jdk18on, both fixed in 1.86. bcpkix and bcutil move with it to keep the BouncyCastle artifacts aligned. (cherry picked from commit 7c13bbb) * fix(security): bump guava to 33.7.2-jre (CVE-2026-102554) Guava's CompactHashMap/CompactHashSet/MapMakerInternalMap readObject paths size their storage from the stream's declared element count, so a crafted serialized stream forces an OutOfMemoryError. Fixed in 33.7.2; minor bump within the 33.x line. (cherry picked from commit 95e349b) --------- Co-authored-by: karanh37 <[email protected]>
Advisory
SNYK-JAVA-ORGBOUNCYCASTLE-20419436, high, Timing Attack inorg.bouncycastle:bcprov-jdk18on, fixed in 1.86.SNYK-JAVA-ORGBOUNCYCASTLE-20419452, high, Improper Verification of Cryptographic Signature inbcprov-jdk18on, fixed in 1.86.Raw scanner finding
Snyk
server-dep-scan, workflow run37248843105(security-scanonmain, 2026-10-05):Reported on
openmetadata-service,openmetadata-mcp,openmetadata-dist,openmetadata-k8s-operator(pathopenmetadata-service > [email protected] > [email protected] > [email protected] > [email protected]) anddocker/rdf-store(viajena-fuseki-main > shiro-crypto-hash).Change
Root
pom.xmldependencyManagement:bcpkix-jdk18on,bcprov-jdk18on,bcutil-jdk18on1.85 → 1.86. The three move together so the BouncyCastle artifacts stay aligned (same approach as #30913). No other manifest touched.What I verified
<release>for all three artifacts; 1.85 is genuinely below it.openmetadata-service/src/mainorcommon/src/mainimportsorg.bouncycastle— it is transitive only (viapac4j-oidc).mvn -o -pl openmetadata-service dependency:tree -Dincludes=org.bouncycastleon this branch resolves all three to 1.86.openmetadata-serviceruntime classpath: registeredBouncyCastleProvider(reports1.86), generated RSA-2048 and EC P-256 keys, round-tripped the public key throughJcaPEMWriter/PEMParser(bcpkix), signed and verified withSHA256withRSAandSHA256withECDSA. All passed.What I did NOT test
mvn compile/mvn verifyof any module, no unit or integration tests, no server boot.pac4j-oidcis the real consumer; nothing exercised it end to end.Note for merge
This PR has no linked issue, so
pr-metadata-validationwill fail until a maintainer links one in the Shipping project (or appliesskip-pr-checks). I did not create an issue — the project fields need a human.🤖 Generated with Claude Code