{"answers":{"affected":"2 open source packages ship an affected version, including io.kroxylicious:kroxylicious-runtime. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8285 in the wild and no public exploit code.","fix":"Upgrade io.kroxylicious:kroxylicious-runtime to 0.8.0 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-8285 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-8285 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.kroxylicious:kroxylicious-runtime (Maven): affected all versions; fixed in 0.8.0\n- io.kroxylicious:kroxylicious-runtime (Maven): affected all versions; fixed in 0.8.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-8285/ (Markdown: https://insights.sbomify.com/CVE-2024-8285/index.md)","id":"CVE-2024-8285","markdown":"https://insights.sbomify.com/CVE-2024-8285/index.md","name":"CVE-2024-8285","record":{"aliases":["GHSA-h83p-72jv-g7vp"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kafka proxy","requires_auth":"high_privilege","summary":"Kroxylicious fails to verify upstream Kafka TLS hostnames, allowing Man-in-the-Middle attacks to compromise data integrity and confidentiality.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"kroxylicious","vendor":"redhat"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"},{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Kroxylicious: missing upstream kafka tls hostname verification","id":"CVE-2024-8285","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":2,"n_references":3,"next":{"headline":"GDPR Cookie Consent \u003c= 2.6.0 - Bulk Delete via CSRF","id":"CVE-2024-8286"},"packages":[{"ecosystem":"Maven","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"io.kroxylicious:kroxylicious-runtime","purl":null,"source":"GHSA-h83p-72jv-g7vp"},{"ecosystem":"Maven","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"io.kroxylicious:kroxylicious-runtime","purl":"pkg:maven/io.kroxylicious/kroxylicious-runtime","source":"GHSA-h83p-72jv-g7vp"}],"prev":{"headline":"Download Manager \u003c= 3.2.98 - Admin+ Stored XSS","id":"CVE-2024-8284"},"products":["Streams for Apache Kafka 2.8.0","streams for Apache Kafka"],"published":"2024-08-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-20","vendors":["Red Hat"]},"summary":"Kroxylicious fails to verify upstream Kafka TLS hostnames, allowing Man-in-the-Middle attacks to compromise data integrity and confidentiality.","url":"https://insights.sbomify.com/CVE-2024-8285/"}