Vulnerabilities in pkg:maven/io.kroxylicious/kroxylicious-runtime
PACKAGECVE-2024-8285 is a MODERATE (CVSS 7.3) missing hostname validation vulnerability (CWE-295: Improper Certificate Validation) affecting Kroxylicious runtime libraries in the Maven ecosystem. The issue involves missing hostname validation in kroxylicious. Remediation is available by upgrading affected packages to version 0.8.0.
pkg:maven/io.kroxylicious/kroxylicious-runtime
Vulnerability advisories affecting package pkg:maven/io.kroxylicious/kroxylicious-runtime. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-h83p-72jv-g7vp | CVE-2024-8285 | MODERATE | Missing hostname validation in Kroxylicious |
CVE-2024-8285 at a Glance
Security Impact
CVSS: 7.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N).
How to Fix CVE-2024-8285
To remediate this vulnerability, upgrade all affected Kroxylicious runtime dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.kroxylicious</groupId>
<artifactId>kroxylicious-runtime</artifactId>
<version>0.8.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.kroxylicious
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-8285, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.kroxylicious
Analyze the terminal output to locate any version of Kroxylicious runtime in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.kroxylicious command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Kroxylicious runtime, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-8285 Affected Kroxylicious runtime Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.kroxylicious:kroxylicious-runtime
|
Maven |
< 0.8.0
|
0.8.0
|
References
Frequently Asked Questions
What is CVE-2024-8285?
Which Kroxylicious runtime versions are affected?
What version fixes CVE-2024-8285?
Is kroxylicious-runtime affected?
What is the CVSS score of CVE-2024-8285?
What CWE is associated with CVE-2024-8285?
How can I check Maven dependencies for CVE-2024-8285?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h83p-72jv-g7vp",
"modified" : "2024-11-13T18:52:35Z",
"published" : "2024-08-31T00:31:05Z",
"aliases" : [ "CVE-2024-8285" ],
"summary" : "Missing hostname validation in Kroxylicious",
"details" : "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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.kroxylicious:kroxylicious-runtime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8285"
}, {
"type" : "WEB",
"url" : "https://github.com/kroxylicious/kroxylicious/commit/8be1efcb0a2160fa3ad4cb0e5a27e60160774dce"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:9571"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-8285"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2308606"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kroxylicious/kroxylicious"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295", "CWE-297" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-03T20:17:06Z",
"nvd_published_at" : "2024-08-30T22:15:06Z"
}
}