Skip to content
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

AMBARI-25806: upgrade kafka-clients to 2.8.2 #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sandeep318kumar
Copy link
Contributor

@sandeep318kumar sandeep318kumar commented Dec 16, 2022

Upgrade kafka-clients to 2.8.2 to resolve CVEs
CVE-2018-17196:
In Apache Kafka versions between 0.11.0.0 and 2.1.0, it is possible to manually craft a Produce request which bypasses transaction/idempotent ACL validation. Only authenticated clients with Write permission on the respective topics are able to exploit this vulnerability. Users should upgrade to 2.1.1 or later where this vulnerability has been fixed.

CVE-2021-38153:
Some components in Apache Kafka use Arrays.equals to validate a password or key, which is vulnerable to timing attacks that make brute force attacks for such credentials more likely to be successful. Users should upgrade to 2.8.1 or higher, or 3.0.0 or higher where this vulnerability has been fixed. The affected versions include Apache Kafka 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.7.1, and 2.8.0.

I have tested ambari metrics by installing them on cluster, testing was successful. All metrics are coming as usual.

@sandeep318kumar
Copy link
Contributor Author

@brahmareddybattula can you please review?

@kevinw66
Copy link
Contributor

Thanks for your PR @sandeep318kumar , but this will fixed on https://github.com/apache/ambari-metrics/pull/79/files#diff-62d1ab41a4dd1eb3342c8dcebbbd551e4a3aa96e31c6988453a8d06b32cdfc91R146, and we'd better keep the same version(2.8.1) as we're using in our default stack (BIGTOP) to avoid some potential dependency problems

@sandeep318kumar
Copy link
Contributor Author

Hi @kevinw66
I was trying to resolve CVEs related to kafka-clients. Since there are some vulnerabilities associated with 2.8.1 version. There are zero vulnerabilities associated with 2.8.2 version. Also, I have tested ambari metrics by installing them on cluster, testing was successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants