Impact
The camel-vertx-http component of Apache Camel reads HTTP response bodies with the Content-Type application/x-java-serialized-object and deserializes them using a raw java.io.ObjectInputStream. This raw deserialization path is activated only when the producer endpoint is configured with transferException=true (or allowJavaSerializedObject=true) and the default throwExceptionOnFailure=true. When a backend returns a 5xx response that includes a serialized Java object, Camel deserializes it without applying any ObjectInputFilter, creating a classic deserialization-of-untrusted-data vulnerability identified as CWE-502.
Affected Systems
Apache Camel versions 4.0.0 through 4.14.8 (exclusive), 4.15.0 through 4.18.3 (exclusive), and 4.19.0 through 4.20.0 (exclusive) are affected. Any deployment using the camel-vertx-http component in these releases that has enabled transferException=true (or allowJavaSerializedObject=true) is vulnerable. The problem does not exist in earlier Camel releases or in versions beyond 4.20.0 that do not contain this code path.
Risk and Exploitability
Based on the description, the likely attack vector requires an attacker who can supply a crafted serialized Java object to a Camel producer. Commonly, this can be achieved by compromising the back-end service that Camel calls or by intercepting an unencrypted HTTP connection and replacing the 5xx response with a malicious payload. Once the unsanitized deserialization occurs, a gadget chain present on the classpath can execute arbitrary code on the Camel host. The CVSS score of 8.1 indicates high severity, and while the EPSS score is below 1% and the vulnerability is not listed in the CISA KEV catalog, the potential for remote code execution demands immediate attention.
OpenCVE Enrichment