Skip to content

Bump dependencies to fix security alerts - #14191

Merged
wu-sheng merged 1 commit into
masterfrom
bump/security-deps-2026-11-02
Nov 3, 2026
Merged

wu-sheng merged 1 commit into
masterfrom
bump/security-deps-2026-11-02

Conversation

@wu-sheng

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

Copy link
Copy Markdown
Member

Bump dependencies that carry known CVEs on the shipped OAP distribution, the e2e Go fixtures, and the GitHub Actions used by CI.

Dependencies

Shipped OAP jars (dist-material/release-docs/LICENSE). Dependabot does not flag these because their versions come from a BOM import or a transitive dependency, so its dependency graph has no version for them. OSV lists them as vulnerable at the versions the LICENSE file names.

Package Old New Manifest Advisories
io.netty:* (netty-bom) 4.2.15.Final 4.2.19.Final pom.xml (netty.version) netty-codec-http: GHSA-4mp9-239f-g9hg, GHSA-6cqp-g7gg-8hr5, GHSA-6jqx-86gh-f27w, GHSA-8c42-7qj2-3j46, GHSA-gcjf-9mgh-3p7g, GHSA-jppx-w49h-x2qq, GHSA-mvh2-crg5-v77c, GHSA-q4f6-jm68-57ww; netty-handler: GHSA-c4c3-7fpv-j4q5, GHSA-fccg-mwvh-qqg4; netty-codec-http2: GHSA-93wv-jw9v-4972, GHSA-c69g-56f8-xwqj; netty-codec-compression: GHSA-558v-64gr-wgg4; netty-codec-dns: GHSA-mfg7-5gfp-c4w3
io.netty:netty-tcnative-boringssl-static 2.0.77.Final 2.0.84.Final pom.xml the version netty 4.2.19.Final is built with
at.yawk.lz4:lz4-java (via kafka-clients) 1.10.1 1.11.4 oap-server-bom/pom.xml (new managed entry) GHSA-343h-94h5-c4wr, GHSA-4v53-57pg-c464, GHSA-6cx8-rjf8-pr8g, GHSA-gm45-99xc-r7wv, GHSA-mcr4-qmvw-px4g, GHSA-xx22-p4ch-683r
org.xerial.snappy:snappy-java (via kafka-clients) 1.1.10.5 1.1.10.12 oap-server-bom/pom.xml (new managed entry) GHSA-gwq9-9ffj-mvrv, GHSA-q233-g92q-qxp6, GHSA-xqrx-qh46-34m7

e2e Go fixtures (not shipped): test/e2e-v2/cases/go/service/go.mod and test/e2e-v2/cases/profiling/ebpf/network/go.mod move golang.org/x/net 0.58.0 -> 0.62.0 (GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612, GO-2026-6617, GO-2026-6860, GO-2026-6866) and golang.org/x/crypto 0.55.0 -> 0.58.0 (GO-2026-6354, GO-2026-6355), with x/sys 0.49.0 and x/text 0.43.0. gRPC stays on 1.83.2.

GitHub Actions

  • actions/checkout v4/v6 -> v7
  • actions/cache v4 -> v6
  • actions/upload-artifact v4 -> v7
  • actions/download-artifact v4 -> v8 (only name + path inputs are used, so the v5 by-ID path change does not apply)
  • actions/setup-java v4 -> v6 (all jobs use temurin, not the removed Adopt distributions)
  • actions/setup-go v5 -> v7
  • github/codeql-action init/analyze v3 -> v4
  • docker/login-action v4.6.0 (dbcb813, expiring on the ASF allowlist) -> v4.7.0 (81c6f93, ASF-approved)

infra-e2e

apache/skywalking-infra-e2e 68bbdec -> 56ac8be (current main, CI green) in all 5 e2e jobs.

License

dist-material/release-docs/LICENSE was regenerated with the CI-pinned license-eye (5b7ee17); only the version lines of the bumped jars change. CHANGES log updated.

Verified locally

  • ./mvnw flatten:flatten install -Dmaven.test.skip -Dcheckstyle.skip -Dgpg.skip -T 1C with JDK 11: pass (git-commit-id plugin skipped because the build ran in a git worktree). The dist tarball contains netty 4.2.19.Final, netty-tcnative 2.0.84.Final, lz4-java 1.11.4 and snappy-java 1.1.10.12.
  • license-eye dependency resolve --summary ./dist-material/release-docs/LICENSE.tpl (5b7ee17), then git diff: no change, so the committed LICENSE is reproducible.
  • osv-scanner on the branch: the e2e Go fixture findings are gone except GO-2026-5932 (x/crypto/openpgp is unmaintained, no fixed version).
  • Not run: unit tests, integration tests and e2e (need Docker / hours of CI).

Left out on purpose

  • test/e2e-v2/java-test-service/**: the e2e test services run on Spring Boot 2.5.5 and are compiled for JDK 8 (the java-versions e2e leg runs them on old JDKs). OSV reports Spring Framework, Tomcat, Jackson, logback, snakeyaml and others there. The open-source Spring Boot 2.x line ends at 2.7.18, which still carries open CVEs, and Spring Boot 3 needs JDK 17, so this is a separate decision, not a bump.

  • apm-protocol/apm-network/pom.xml: OSV reads this pom on its own and resolves guava 33.5.0-android and netty 4.1.130.Final through grpc. The OAP distribution ships guava 33.7.2-jre and netty 4.2.19.Final through oap-server-bom, so nothing shipped is affected.

  • The scheduled CI on master has failed every day since at least 2026-10-27 in a few e2e jobs (for example VM Prometheus, Alipay Mini Program Monitoring, eBPF Access Log ES Sharding); this PR does not try to fix those.

  • Update the CHANGES log.

Shipped OAP jars (dist-material/release-docs/LICENSE). Dependabot does not
flag these because their versions come from a BOM import or a transitive
dependency, so its dependency graph records them without a version. OSV
lists them as vulnerable at the versions the LICENSE file names.

- netty 4.2.15.Final -> 4.2.19.Final (root pom netty.version), with
  netty-tcnative-boringssl-static 2.0.77.Final -> 2.0.84.Final, the
  version netty 4.2.19.Final is built with.
- lz4-java (at.yawk.lz4) 1.10.1 -> 1.11.4 and snappy-java 1.1.10.5 ->
  1.1.10.12, both pulled in by kafka-clients 3.9.2, now managed in
  oap-server-bom.
- dist-material/release-docs/LICENSE regenerated with the CI-pinned
  license-eye (5b7ee17); only these version lines change.

e2e Go fixtures (not shipped): cases/go/service and
cases/profiling/ebpf/network move golang.org/x/net 0.58.0 -> 0.62.0 and
golang.org/x/crypto 0.55.0 -> 0.58.0 (with x/sys 0.49.0 and x/text
0.43.0). gRPC stays on 1.83.2.

GitHub Actions: actions/checkout v4/v6 -> v7, actions/cache v4 -> v6,
actions/upload-artifact v4 -> v7, actions/download-artifact v4 -> v8,
actions/setup-java v4 -> v6, actions/setup-go v5 -> v7,
github/codeql-action v3 -> v4, docker/login-action v4.6.0 -> v4.7.0
(ASF-approved SHA; v4.6.0 is deprecated on the ASF allowlist), and
apache/skywalking-infra-e2e 68bbdec -> 56ac8be (current main).
@wu-sheng wu-sheng added the dependencies Pull requests that update a dependency file label Nov 2, 2026
@wu-sheng wu-sheng added this to the 11.1.0 milestone Nov 2, 2026
@wu-sheng
wu-sheng merged commit e058e2c into master Nov 3, 2026
475 of 485 checks passed
@wu-sheng
wu-sheng deleted the bump/security-deps-2026-11-02 branch November 3, 2026 00:32
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.

2 participants