Apache Camel security advisory: CVE-2025-30177

Severity

MEDIUM

Summary

Camel-Undertow Message Header Injection via Improper Filtering

Versions affected

Apache Camel 4.10.0 before 4.10.3. Apache Camel 4.8.0 before 4.8.6.

Versions fixed

4.8.6 and 4.10.3

Description

Camel undertow component is vulnerable to Camel message header injection, in particular the custom header filter strategy used by the component only filter the 'out' direction, while it doesn't filter the 'in' direction.This allows an attacker to include Camel specific headers that for some Camel components can alter the behaviours such as the camel-bean component, or the camel-exec component.

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-21876 refers to the commit that resolved the issue, and have more details. This CVE is related to the CVE-2025-27636 and CVE-2025-29891.

Mitigation

Users are recommended to upgrade to version 4.10.3 for 4.10.x LTS and 4.8.6 for 4.8.x LTS.

Credit

This issue was discovered and reported by Mark Thorson of AT&T.

References

PGP signed advisory data: CVE-2025-30177.txt.asc
Mitre CVE Entry: https://www.cve.org/CVERecord?id=CVE-2025-30177