spuru9 opened a new pull request, #179: URL: https://github.com/apache/flink-shaded/pull/179
## What Bump the bundled Netty and Jackson on the `release-20.0` line to the latest patch release of each line, and update the affected `NOTICE` files and hardcoded module version coordinates to match: - Netty `4.1.136.Final` → `4.1.139.Final` (#171 was the previous bump) - Jackson `2.18.10` → `2.18.12` (#166 was the previous bump) JIRA: https://issues.apache.org/jira/browse/FLINK-41514 (relates to FLINK-39570; the release-21.0 counterpart is FLINK-41076) ## Why Both are patch releases on the lines this branch already uses, and they fix: | Library | CVEs | First fixed in | |---|---|---| | netty-codec-http | CVE-2026-59903 | 4.1.137.Final | | netty-codec-http | CVE-2026-89044, CVE-2026-93488, CVE-2026-93491, CVE-2026-93558, CVE-2026-93562, CVE-2026-93565, CVE-2026-93566, CVE-2026-93573, CVE-2026-93574 | 4.1.138.Final | | netty-codec-http2 | CVE-2026-93492, CVE-2026-93567, CVE-2026-93568, CVE-2026-93569, CVE-2026-93579 | 4.1.138.Final | | jackson-core | CVE-2026-89407, CVE-2026-89425 | 2.18.11 | | jackson-databind | CVE-2026-91776, CVE-2026-91777 | 2.18.11 | | jackson-databind | CVE-2026-110879 | 2.18.12 | `release-21.0` already carries these fixes (Netty 4.2.19.Final and Jackson 2.21.8 via FLINK-41076), so only this branch needs the bump. Because `flink-shaded` bundles (relocates) Netty and Jackson, consumers of the shaded artifacts can only pick up these fixes via a rebuild from a bumped source branch; the bundled copies are invisible to downstream `dependencyManagement`. ## Changes One commit per library. **Netty** - `pom.xml`: `netty.version` `4.1.136.Final` → `4.1.139.Final`. - `flink-shaded-netty-4/.../META-INF/NOTICE`: the 35 bundled `io.netty:*` lines → `4.1.139.Final`. - `flink-shaded-zookeeper-{35,36,37,38}/.../META-INF/NOTICE`: the 9 bundled `io.netty:*` lines each → `4.1.139.Final`. These modules import `io.netty:netty-bom:${netty.version}`, so the bump changes the Netty they bundle too. The `netty-bom` module and classifier set is identical between `4.1.136.Final` and `4.1.139.Final` (checked against Maven Central), so this is a version-string substitution with no NOTICE entries added or removed. **Jackson** - `pom.xml`: `jackson.version` `2.18.10` → `2.18.12`. - `flink-shaded-jackson-parent/pom.xml` and the `<parent>` of `flink-shaded-jackson-2`, `flink-shaded-jackson-module-jsonSchema-2` and `flink-shaded-jsonpath`: `2.18.10-20.0` → `2.18.12-20.0`. - `NOTICE` of `flink-shaded-jackson-2` (8 lines), `flink-shaded-jackson-module-jsonSchema-2` (4) and `flink-shaded-swagger` (2): `com.fasterxml.jackson.*` → `2.18.12`. `jackson-dataformat-yaml` 2.18.12 still depends on `snakeyaml` 2.3, so the snakeyaml entries are unchanged. ## Verification Ran the steps of `.github/workflows/ci.yml` locally (Maven 3.8.6, Java 17, `-Denforcer.skip`): full-reactor `mvn clean deploy -U -B -Pinclude-netty-tcnative-static -Plicense-check`, then `mvn exec:java@check-license -N`. - `BUILD SUCCESS` for all 17 modules. - `flink-shaded-netty-4-4.1.139.Final-20.0.jar`: `io.netty.versions.properties` reports `4.1.139.Final`; 3161 classes relocated under `org/apache/flink/shaded/netty4/io/netty`, 0 un-relocated `io/netty` classes. The four `flink-shaded-zookeeper-3*` jars also report `4.1.139.Final` with 0 un-relocated classes. - `flink-shaded-jackson-2-2.18.12-20.0.jar` and `flink-shaded-jackson-module-jsonSchema-2-2.18.12-20.0.jar`: the relocated `PackageVersion` classes of jackson-core and jackson-databind report `2.18.12`; 0 un-relocated `com/fasterxml/jackson` classes (also 0 in `flink-shaded-swagger`). - `LicenseChecker`: the NOTICE checker output is identical to a run on unmodified `release-20.0` once version strings are normalized. Locally both runs report one severe issue, a missing `META-INF/LICENSE` in `flink-shaded-netty-tcnative-static`, which this PR does not touch and which CI on Linux does not report (#171). Unit tests were not run. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code (claude-opus-5-5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
