-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][sec] Override kafka-clients in kinesis-kpl-shaded to remediate CVE-2024-31141 and CVE-2025-27817 #24935
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
Conversation
This change seems to be unnecessary since the kafka-clients version is already enforced by pulsar/pulsar-io/kinesis/pom.xml Lines 40 to 49 in 95c1dab
|
|
Thanks for the clarification, @lhotari. I made this change because the Trivy scan showed two CVEs in org.apache.kafka:kafka-clients under the pulsar-io/kinesis-kpl-shaded module. I added the same version override here to make sure the CVEs were fixed, as it looked like the version from pulsar-io/kinesis wasn’t being applied to kinesis-kpl-shaded. This was mainly to keep the versions consistent and clear the security warnings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24935 +/- ##
============================================
- Coverage 74.28% 74.26% -0.02%
- Complexity 33886 33890 +4
============================================
Files 1913 1913
Lines 149425 149425
Branches 17358 17358
============================================
- Hits 111001 110975 -26
- Misses 29572 29592 +20
- Partials 8852 8858 +6
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
…VE-2024-31141 and CVE-2025-27817 (#24935) (cherry picked from commit 8cb1040)
…VE-2024-31141 and CVE-2025-27817 (#24935) (cherry picked from commit 8cb1040)
…VE-2024-31141 and CVE-2025-27817 (apache#24935) (cherry picked from commit 8cb1040) (cherry picked from commit e08dcfc)
…VE-2024-31141 and CVE-2025-27817 (apache#24935) (cherry picked from commit 8cb1040) (cherry picked from commit e08dcfc)
Fixes #xyz
Main Issue: #xyz
PIP: #xyz
Motivation
This PR addresses two medium-severity CVEs affecting the transitive dependency org.apache.kafka:kafka-clients used in the pulsar-io/kinesis-kpl-shaded module.
Vulnerabilities remediated:
Modifications
Explicitly added org.apache.kafka:kafka-clients dependency under dependencyManagement to enforce a safe, fixed version across transitive usages.
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: