Skip to content

Build: Fix transitive dependency CVEs across all distributions#16290

Merged
kevinjqliu merged 5 commits into
apache:mainfrom
kevinjqliu:kevinjqliu/cve-fixes
May 12, 2026
Merged

Build: Fix transitive dependency CVEs across all distributions#16290
kevinjqliu merged 5 commits into
apache:mainfrom
kevinjqliu:kevinjqliu/cve-fixes

Conversation

@kevinjqliu
Copy link
Copy Markdown
Contributor

@kevinjqliu kevinjqliu commented May 11, 2026

Closes #16286. Closes #16288.

Bump awssdk-bom from 2.44.0 to 2.44.4 and add global dependency overrides to fix CVEs in transitive dependencies that upstream libraries have not yet updated.

Version bump

  • awssdk-bom: 2.44.0 → 2.44.4
  • netty-legacy: 4.1.133.Final → 4.2.13.Final (new version catalog entry; forces all transitive Netty 4.1.x deps to 4.2.13.Final)

Forced overrides

Verified clean (0 HIGH/CRITICAL findings)

aws-bundle, gcp-bundle, azure-bundle, kafka-connect, open-api, spark-3.5, spark-4.0, spark-4.1, flink-1.20, flink-2.0, flink-2.1

Known unfixable

CVE Modules Package Reason
CVE-2025-52999 spark-3.4 jackson-core@2.14.2 Pinned to 2.14.2 for Spark 3.4 compatibility. Fix requires 2.15.0+.

Notes

  • Relevant changes are in build.gradle and gradle/libs.versions.toml; everything else is autogenerated runtime-deps.txt updates.
  • The Netty 4.2 upgrade introduces 4 new sub-modules (netty-codec-base, netty-codec-compression, netty-codec-marshalling, netty-codec-protobuf) in aws-bundle, azure-bundle, and kafka-connect. These are covered by the existing "This product bundles Netty" LICENSE entries — no LICENSE/NOTICE changes required.

@kevinjqliu
Copy link
Copy Markdown
Contributor Author

cc @rmoff

@aihuaxu i think we should include the CVE fixes in the upcoming release, added to the milestone.

note that relevant changes are in build.gradle and gradle/libs.versions.toml, everything else is autogenerated changes to runtime-deps.txt files

@kevinjqliu
Copy link
Copy Markdown
Contributor Author

blocked on #16287

@RussellSpitzer
Copy link
Copy Markdown
Member

Kafka Connect CVE Scan is not happy

@rmoff
Copy link
Copy Markdown
Contributor

rmoff commented May 11, 2026

Kafka Connect CVE Scan is not happy

Still picking up a couple of netty CVEs

https://github.com/apache/iceberg/actions/runs/25687248122/job/75414106984?pr=16290#step:8:20

@kevinjqliu
Copy link
Copy Markdown
Contributor Author

io.netty:netty-transport-native-epoll

I added this to the "Known unfixable" section of the PR. We could bump the dep to use 4.2.13.Final but Netty 4.1 → 4.2 has breaking API changes

@kevinjqliu
Copy link
Copy Markdown
Contributor Author

let me try out the change locally and see if we can bump to 4.2.13.Final

Comment thread gradle/libs.versions.toml Outdated
kevinjqliu and others added 2 commits May 11, 2026 16:33
Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Contributor

@aihuaxu aihuaxu left a comment

Choose a reason for hiding this comment

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

I did the local CVE check and no issues. Thanks for the fix.

Copy link
Copy Markdown
Contributor

@huaxingao huaxingao left a comment

Choose a reason for hiding this comment

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

LGTM

@kevinjqliu kevinjqliu merged commit b986d73 into apache:main May 12, 2026
38 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/cve-fixes branch May 12, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kafka Connect: CVE-2026-5598 in org.bouncycastle:bcprov-jdk18on Kafka Connect: Multiple HIGH netty CVEs in transitive netty dependencies

5 participants