Repository navigation
fix(security): bump postgresql, BouncyCastle and guava on 2.0 (#35214, #34704, #35245) [2.0 backport] - #35246
Conversation
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)
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)
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)
❌ 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 |
Code Review ✅ Approved🔴 High risk · Updating PostgreSQL JDBC, BouncyCastle, and Guava changes database authentication, cryptographic handling, and serialized-input behavior; regressions could weaken security or disrupt service. Backports dependency pin bumps to the 2.0 branch: 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 |
Backports three backend pin bumps to
2.0to clear the 2.0 nightly scan findings:postgresql42.7.12 → 42.7.14 (fix(security): bump postgresql to 42.7.14 #35214): CVE-2026-107314 (requireAuthnot enforced) and CVE-2026-107315 (padding leak).bcprov/bcpkix/bcutil-jdk18on1.85 → 1.86 (fix(security): bump BouncyCastle to 1.86 #34704): CVE-2026-18036, CVE-2026-71888, CVE-2026-71889 and CVE-2026-71891. The three move together.guava33.4.8-jre → 33.7.2-jre (fix(security): bump guava to 33.7.2-jre (CVE-2026-102554) #35245): CVE-2026-102554 (OOM via crafted serialized stream).Clean cherry-picks (
-x) of the three main commits. Onlypom.xmlandopenmetadata-service/pom.xmlchange.Verification
mvn clean install -pl openmetadata-service,openmetadata-sdk,openmetadata-mcp -am -DskipTestson 2.0 is green.dependency:treeforopenmetadata-serviceresolvespostgresql:42.7.14,bc*-jdk18on:1.86andguava:33.7.2-jre.libthrift 0.25.0 for 2.0 is in #35243.