-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-38764] Upgrade lz4 to 1.8.1 due to security vulnerability #27326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
lz4 1.8.0 is still being pulled from our Kafka connector, via Kafka client 🤔 Kafka connector is pulled in from examples and in some tests, so on the one hand I think we should be fine just ignoring it until kafka connector upgrades it's own dependency 🤔 But on the other hand I'm worried about dependency convergence if someone tries to use Flink with lz4 1.8.1 with Kafka Connector with lz4 1.8.0. I'm not 100% sure how to procede here. I guess we need to fix this problem simultaneously in the two repos, and only the new flink kafka connector versions will be officially compatible with Flink versions released with this change/fix? |
Savonitar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thank you for fixing this.
|
|
||
| This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) | ||
|
|
||
| - at.yawk.lz4:lz4-java:1.8.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, upstream Apache Kafka (in trunk) has already migrated to the at.yawk fork and is currently using version 1.10.1
Since the Kafka connector will eventually depend on newer Kafka clients (which use 1.10.x), maybe it is safer to align directly with 1.10.1 instead of 1.8.1?
|
Can we go to 1.10.1 because another CVE was reported - CVE-2025-66566 |
What is the purpose of the change
Upgrade lz4 to 1.8.1 due to security vulnerability
Verifying this change
Change should be covered by the existing tests.
Does this pull request potentially affect one of the following parts:
@Public(Evolving): (yes / no)Documentation