CVE-2025-30177: Camel undertow Apache Camel Missing Header Out Vulnerability
MODERATECVE-2025-30177 is a MODERATE (CVSS 6.5) apache camel missing header out vulnerability (CWE-164: Improper Neutralization of Internal Special Elements) affecting Camel undertow libraries in the Maven ecosystem. The issue involves apache camel missing header out filter leads to potential bypass/injection vulnerability. Remediation is available by upgrading affected packages to version 4.10.3, 4.8.6.
CVE-2025-30177 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2025-30177
To remediate this vulnerability, upgrade all affected Camel undertow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-undertow</artifactId>
<version>4.10.3</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-undertow</artifactId>
<version>4.8.6</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.camel
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-30177, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.camel
Analyze the terminal output to locate any version of Camel undertow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.10.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.camel command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-164: Improper Neutralization of Internal Special Elements, where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes internal special elements that could be interpreted in unexpected ways when they are sent to a downstream component. In Camel undertow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-30177 Affected Camel undertow Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-undertow
|
Maven |
≥ 4.10.0
< 4.10.3
|
4.10.3
|
|
org.apache.camel:camel-undertow
|
Maven |
≥ 4.8.0
< 4.8.6
|
4.8.6
|
References
Frequently Asked Questions
What is CVE-2025-30177?
Which Camel undertow versions are affected?
What version fixes CVE-2025-30177?
Is camel-undertow affected?
What is the CVSS score of CVE-2025-30177?
What CWE is associated with CVE-2025-30177?
How can I check Maven dependencies for CVE-2025-30177?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vq4p-pchp-6g6v",
"modified" : "2025-04-01T22:07:14Z",
"published" : "2025-04-01T12:30:34Z",
"aliases" : [ "CVE-2025-30177" ],
"summary" : "Apache Camel Missing Header Out Filter Leads to Potential Bypass/Injection Vulnerability",
"details" : "Bypass/Injection vulnerability in Apache Camel in Camel-Undertow component under particular conditions.\n\nThis issue affects Apache Camel: from 4.10.0 before 4.10.3, from 4.8.0 before 4.8.6.\n\nUsers are recommended to upgrade to version 4.10.3 for 4.10.x LTS and 4.8.6 for 4.8.x LTS.\n\nCamel 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.\n\n\nThis allows an attacker to include Camel specific headers that for some Camel components can alter the behaviour such as the camel-bean component, or the camel-exec component.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-undertow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.10.0"
}, {
"fixed" : "4.10.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-undertow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.8.0"
}, {
"fixed" : "4.8.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-30177"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/9fd8fc30dbd98511a1faa0cbcf39ef5aeec88a64"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2025-27636.html"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2025-29891.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/dj79zdgw01j337lr9gvyy4sv8xfyw8py"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-164" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-01T22:07:14Z",
"nvd_published_at" : "2025-04-01T12:15:15Z"
}
}