Missing hostname validation in Kroxylicious
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | io.kroxylicious:kroxylicious-runtime | < 0.8.0 | 0.8.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8285
- https://github.com/kroxylicious/kroxylicious/commit/8be1efcb0a2160fa3ad4cb0e5a27e60160774dce
- https://access.redhat.com/errata/RHSA-2024:9571
- https://access.redhat.com/security/cve/CVE-2024-8285
- https://bugzilla.redhat.com/show_bug.cgi?id=2308606
- https://github.com/kroxylicious/kroxylicious
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N- Weakness (CWE)
CWE-295, CWE-297- Platform
- Java / Kotlin (Maven)
- Package
io.kroxylicious:kroxylicious-runtime- Disclosed
- 31.08.2024
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h83p-72jv-g7vp - CC BY 4.0
Vulnerability history: io.kroxylicious:kroxylicious-runtime
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.