Purushottam Sinha created FLINK-41578:
-----------------------------------------

             Summary: Build System: Update flink-shaded on supported branches 
for dependency CVEs
                 Key: FLINK-41578
                 URL: https://issues.apache.org/jira/browse/FLINK-41578
             Project: Flink
          Issue Type: Technical Debt
          Components: Build System
            Reporter: Purushottam Sinha


*Problem*
Supported Flink branches bundle Netty, Jackson, Guava and ZooKeeper versions 
with known CVEs through flink-shaded: release-1.20 uses 17.0, release-2.2 uses 
20.0, release-2.3 uses 21.0, and release-2.4 and master use 22.0. The latest 
flink-shaded needs Netty 4.2 and a newer OpenSSL, so each branch should move to 
a fix release of the flink-shaded line it already uses.

*Evidence*
* Netty and Jackson in each line:
** 17.0: Netty 4.1.91, Jackson 2.14.2
** 20.0: Netty 4.1.100, Jackson 2.18.2
** 21.0: Netty 4.2.6, Jackson 2.20.1
** 22.0: Netty 4.2.17 (30 advisories, fixed in 4.2.18) and Jackson 2.22.2 
(fixed in 2.22.3)
* Guava CVE-2026-102554 (fixed in 33.7.2) affects every line: 31.1, 33.4.0, 
33.5.0 and 33.7.1.
* ZooKeeper: release-1.20 ships 3.7.1 (CVE-2023-44981, fixed in 3.7.2). The 
ZooKeeper 3.8 module in 20.0 is on 3.8.4 (CVE-2026-24281, CVE-2026-24308).

*Proposed fix*
* After each fix release, update {{flink.shaded.version}}, 
{{flink.shaded.jackson.version}} and the {{flink-shaded-guava}} version in the 
branch's {{pom.xml}}. On release-1.20, also update {{zookeeper.version}}.
* Out of scope:
** Guava and Jackson on release-1.20. Neither can be fixed without a package 
rename or a minor version bump.
** Making ZooKeeper 3.8 Flink's default (FLINK-33628).

*Acceptance*
* release-1.20, release-2.2, release-2.3 and release-2.4 build against the new 
flink-shaded versions.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to