CVE-2024-8285

Kroxylicious: missing upstream kafka tls hostname verification

5.9 medium EPSS 0.38%

Published 30 Aug 2024 Updated 20 Nov 2025 CNA: redhat

Check your servers for CVE-2024-8285

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-8285 affects io.kroxylicious-kroxylicious-parent, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

5.9 medium CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 3 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-297 Improper Validation of Certificate with Host Mismatch

Affected products

As the CNA lists them.

ProductVersions
kroxylicious
package kroxylicious
affected from 0.80.0, before 0.80.0
Other versions: unaffected
Streams for Apache Kafka 2.8.0
package io.kroxylicious-kroxylicious-parent
unaffected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-annotations
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-api
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-app
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-app-licenses
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-filter-test-support
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-integration-test-support
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-kms
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-kms-provider-hashicorp-vault
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-kms-provider-hashicorp-vault-test-support
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-kms-provider-kroxylicious-inmemory
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-kms-provider-kroxylicious-inmemory-test-support
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-kms-test-support
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-krpc-plugin
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-multitenant
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-record-encryption
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-record-validation
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-runtime
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-sample
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious/kroxylicious-simple-transform
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious.testing/testing-api
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious.testing/testing-impl
affected the record does not list versions
streams for Apache Kafka
package io.kroxylicious.testing/testing-junit5-extension
affected the record does not list versions

Is my server affected?

Find the installed version of io.kroxylicious-kroxylicious-parent and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i io.kroxylicious-kroxylicious-parent
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-8285 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-8285

RHEL, Rocky, Alma, Fedora

rpm -q io.kroxylicious-kroxylicious-parent
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-8285

Alpine

apk list --installed | grep -i io.kroxylicious-kroxylicious-parent

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-8285
trivy image --scanners vuln IMAGE | grep CVE-2024-8285

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Source: the record CVE-2024-8285 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.