Impact
Apache Camel’s camel‑kafka component contains an improper input validation flaw that lets an attacker override the Kafka topic used by a producer by setting a kafka.OVERRIDE_TOPIC header. Because the component’s header filter does not block kafka.* headers on the upstream HTTP consumer side, an unauthenticated HTTP client can inject the header and direct messages to any topic. The attacker may target sensitive internal topics or inject crafted messages into streams consumed by critical services. This flaw is a CWE‑20 input validation error and a CWE‑74 injection, compromising message confidentiality, integrity and availability.
Affected Systems
Version 4.0.0 up to but not including 4.14.8, 4.15.0 up to but not including 4.18.3 and 4.19.0 up to but not including 4.21.0 of Apache Camel from the Apache Software Foundation are affected. The problem was fixed in releases 4.14.8, 4.18.3 and 4.21.0.
Risk and Exploitability
The CVSS score of 5.3 reflects moderate severity, and the EPSS score of less than 1 % suggests exploitation is unlikely at present. The vulnerability is not listed in CISA’s KEV catalog. Because no authentication is required, any client reaching an unauthenticated camel‑kafka producer can supply the malicious header. An attacker could publish to arbitrary topics, backdate messages with kafka.OVERRIDE_TIMESTAMP, or force a specific partition with kafka.PARTITION_KEY.
OpenCVE Enrichment