Skip to content

Bump dependencies to clear the open Dependabot CVE alerts before the release - #14187

Merged
wu-sheng merged 1 commit into
masterfrom
cve-bump-before-release
Nov 2, 2026
Merged

wu-sheng merged 1 commit into
masterfrom
cve-bump-before-release

Conversation

@wu-sheng

@wu-sheng wu-sheng commented Nov 2, 2026

Copy link
Copy Markdown
Member

Clear the open Dependabot CVE alerts before the release

All 43 open Dependabot alerts have a released fix. This PR moves every flagged dependency to a fixed version: 16 alerts are on jars the OAP ships (oap-server-bom/pom.xml), and 27 are on e2e test fixtures, which no OAP artifact ships.

OAP (shipped)

Dependency Version Alerts
jackson-core, jackson-databind (+ annotations, datatype-jdk8/guava) 2.18.8 → 2.18.12 11 (5 high, 6 medium)
guava 32.0.1-jre → 33.7.2-jre 1 high
micrometer-core 1.14.4 → 1.16.8 1 high
log4j-api / log4j-core 2.25.4 → 2.25.5 1 medium
freemarker 2.3.31 → 2.3.35 1 critical
postgresql 42.7.11 → 42.7.14 1 high
  • Micrometer 1.14.x has no open-source fix. Armeria 1.34.2 declares micrometer 1.16.0, so the 1.14.4 pin (added in Bump Armeria to 1.32.0 and some transitive dependencies #13096 for Armeria 1.32) had been downgrading it; 1.16.8 clears the CVE and puts Micrometer back on the line Armeria is built against.
  • Guava 33.x no longer depends on checker-qual, so checker-qual now resolves through the Consul client (3.33.0 → 3.36.0), and failureaccess moves 1.0.1 → 1.0.3 and jspecify 1.0.0 → 1.0.1.
  • Every new jar is Java 8 bytecode (class-file major 52), so JDK 11 support is unaffected.
  • dist-material/release-docs/LICENSE is regenerated with the CI-pinned license-eye, and the .licenserc.yaml overrides for jackson-datatype-jdk8 and postgresql name the new versions.

e2e test fixtures (not shipped)

Fixture Dependency Version Alerts
cases/go/service golang.org/x/crypto 0.51.0 → 0.55.0 13
cases/go/service, cases/profiling/ebpf/network google.golang.org/grpc 1.79.3 → 1.83.2 8
cases/go/service, cases/profiling/ebpf/network github.com/klauspost/compress 1.15.9 → 1.18.7 2
java-test-service (parent, e2e-service-provider, e2e-mock-baseline-server) guava 32.0.0-jre → 33.7.2-jre 3
e2e-service-provider log4j-api / log4j-core 2.25.4 → 2.25.5 1
  • gRPC 1.83.2 is the version skywalking-go moved its own agent to (Bump grpc to v1.83.2 and x/net to v0.58.0 to fix known CVEs skywalking-go#258), and it requires x/crypto 0.55.0. gRPC 1.84.0 and later are instrumented by a newer grpc-v184 plugin that the pinned SW_AGENT_GO_COMMIT predates, so this PR stays on 1.83.x and leaves the agent commit unchanged.
  • The two child modules of java-test-service now take guava from the parent's guava.version property instead of repeating the version.

Verified locally

  • The full ./mvnw clean test suite on JDK 17 passes (110 modules, 0 failures, 0 errors), and the pre-flight clean flatten:flatten install javadoc:javadoc -Pall plus checkstyle:check pass on JDK 11.

  • license-eye dependency resolve (CI-pinned 5b7ee17) regenerates the LICENSE diff in this PR.

  • Both Go fixture images build with the pinned skywalking-go agent (-toolexec), and the binaries link grpc v1.83.2, x/crypto v0.55.0, klauspost/compress v1.18.7.

  • The Java test-service reactor builds on JDK 11 and 17, and the fat jars bundle guava 33.7.2-jre and log4j 2.25.5.

  • The OAP image built from this dist carries the new jars, and the Go agent e2e case (cases/go: OAP on BanyanDB, the Java provider and consumer services, the rebuilt Go fixture reporting over gRPC 1.83.2) passes locally, 31 of 31 cases.

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.

  • Update the CHANGES log.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FP1fVcncZsV6XCUUdbyEqd

…release

OAP (shipped): jackson 2.18.8 -> 2.18.12, guava 32.0.1-jre -> 33.7.2-jre,
micrometer 1.14.4 -> 1.16.8, log4j 2.25.4 -> 2.25.5, freemarker 2.3.31 ->
2.3.35, postgresql 42.7.11 -> 42.7.14. Micrometer 1.14.x has no
open-source fix, and Armeria 1.34.2 is built against micrometer 1.16.0,
which the old pin downgraded. LICENSE regenerated with license-eye.

e2e fixtures (not shipped): the Go fixtures move to grpc 1.83.2, x/crypto
0.55.0 and klauspost/compress 1.18.7; the Java test services to guava
33.7.2-jre and log4j 2.25.5.

Claude-Session: https://claude.ai/code/session_01FP1fVcncZsV6XCUUdbyEqd

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the dependency upgrades and associated release-metadata updates.

No open issues 🎉

What changed in this PR

Updates OAP runtime dependencies and non-shipped end-to-end test fixtures to address the reported Dependabot alerts before release.

Changes:

  • Upgrades six OAP dependency groups, including Jackson, Guava, Micrometer, Log4j, FreeMarker, and PostgreSQL.
  • Updates Go and Java test dependencies and centralizes the Java fixtures’ Guava version.
  • Synchronizes release license metadata and records the upgrades in the changelog.
File Description
test/​e2e-v2/​java-test-service/​pom.xml Updates the shared Guava version.
test/​e2e-v2/​java-test-service/​e2e-service-provider/​pom.xml Updates Log4j and inherits the shared Guava version.
test/​e2e-v2/​java-test-service/​e2e-mock-baseline-server/​pom.xml Inherits the shared Guava version.
test/​e2e-v2/​cases/​profiling/​ebpf/​network/​go.mod Updates gRPC, compression, and related Go dependencies.
test/​e2e-v2/​cases/​go/​service/​go.mod Updates Go dependencies, including crypto, gRPC, and compression.
oap-server-bom/​pom.xml Updates managed OAP runtime dependency versions.
docs/​en/​changes/​changes.md Documents runtime and test-fixture security upgrades.
dist-material/​release-docs/​LICENSE Synchronizes the bundled dependency license inventory.
.licenserc.yaml Updates Jackson and PostgreSQL license overrides.

Review effort: Balanced

@wu-sheng wu-sheng added this to the 11.1.0 milestone Nov 2, 2026
@wu-sheng wu-sheng added the dependencies Pull requests that update a dependency file label Nov 2, 2026
@wu-sheng
wu-sheng merged commit 208cf57 into master Nov 2, 2026
481 of 486 checks passed
@wu-sheng
wu-sheng deleted the cve-bump-before-release branch November 2, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants