CVE-2024-8285 Kroxylicious: missing upstream kafka tls hostname verification

Medium 5.9 Published Updated

Kroxylicious fails to verify upstream Kafka TLS hostnames, allowing Man-in-the-Middle attacks to compromise data integrity and confidentiality.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-8285?

CVE-2024-8285 is a medium-severity vulnerability in Red Hat Streams for Apache Kafka 2.8.0, published on 30 Aug 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A flaw was found in Kroxylicious. When establishing the connection with the upstream Kafka server using a TLS secured connection, Kroxylicious fails to properly verify the server's hostname, resulting in an insecure connection. For a successful attack to be performed, the attacker needs to perform a Man-in-the-Middle attack or compromise any external systems, such as DNS or network routing configuration. This issue is considered a high complexity attack, with additional high privileges required, as the attack would need access to the Kroxylicious configuration or a peer system. The result of a successful attack impacts both data integrity and confidentiality.

Weakness: CWE-295, CWE-297

Which versions are affected by CVE-2024-8285?

2 open source packages ship an affected version, including io.kroxylicious:kroxylicious-runtime. It affects 1 product.

PackageAffectedFixed in
io.kroxylicious:kroxylicious-runtime MavenAll versions0.8.0
io.kroxylicious:kroxylicious-runtime MavenAll versions0.8.0

Products include Redhat Kroxylicious.

How do I fix CVE-2024-8285?

Upgrade io.kroxylicious:kroxylicious-runtime to 0.8.0 or later.

Is CVE-2024-8285 being exploited?

There is no known exploitation of CVE-2024-8285 in the wild and no public exploit code.

Sources

Also known as GHSA-h83p-72jv-g7vp.

Is CVE-2024-8285 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free