8.8high
Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.21% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-vpr3-2659-rw55
Description
The camel-mina component's MinaConverter.toObjectInput(IoBuffer) type converter wraps an IoBuffer in a java.io.ObjectInputStream without applying any ObjectInputFilter or class-loading restrictions. When a Camel route uses camel-mina as a TCP or UDP consumer and requests conversion to ObjectInput (for example via getBody(ObjectInput.class) or @Body ObjectInput), an attacker sending a crafted serialized Java object over the network to the MINA consumer port can trigger arbitrary code execution in the context of the application during readObject(). This issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0. Users are recommended to upgrade to version 4.20.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.6. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.camel:camel-mina | from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0 | CVE List |
| camel-mina-sftp | Not specified | CVE List |
| camel-mina | Not specified | CVE List |
| camel-mina2 | Not specified | CVE List |
| camel-mina2-starter | Not specified | CVE List |
| org.apache.camel:camel-mina (Maven) | from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0 | GitHub Advisory Database |
| apache camel | from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, 4.19.0 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
The camel-mina component's MinaConverter.toObjectInput(IoBuffer) type converter wraps an IoBuffer in a java.io.ObjectInputStream without applying any ObjectInputFilter or class-loading restrictions. When a Camel route uses camel-mina as a TCP or UDP consumer and requests conversion to ObjectInput (for example via getBody(ObjectInput.class) or @Body ObjectInput), an attacker sending a crafted serialized Java object over the network to the MINA consumer port can trigger arbitrary code execution in the context of the application during readObject(). This issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0. Users are recommended to upgrade to version 4.20.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.6. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.
NVD (es)
El conversor de tipo MinaConverter.toObjectInput(IoBuffer) del componente camel-mina envuelve un IoBuffer en un java.io.ObjectInputStream sin aplicar ningún ObjectInputFilter o restricciones de carga de clases. Cuando una ruta de Camel usa camel-mina como consumidor TCP o UDP y solicita la conversión a ObjectInput (por ejemplo, a través de getBody(ObjectInput.class) o @Body ObjectInput), un atacante que envíe un objeto Java serializado malintencionado a través de la red al puerto consumidor de MINA puede desencadenar ejecución de código arbitrario en el contexto de la aplicación durante readObject(). Este problema afecta a Apache Camel: desde 3.0.0 antes de 4.14.6, desde 4.15.0 antes de 4.18.2, desde 4.19.0 antes de 4.20.0. Se recomienda a los usuarios actualizar a la versión 4.20.0, que corrige el problema. Si los usuarios están en la rama de versiones LTS 4.14.x, se les sugiere actualizar a 4.14.6. Si los usuarios están en la rama de versiones 4.18.x, se les sugiere actualizar a 4.18.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40473 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vpr3-2659-rw55 changed 2026-05-05 | CC-BY-4.0 |
| NVD | CVE-2026-40473 changed 2026-10-26 | Public domain |