GHSA-96v5-c2h5-56hm

Suggest an improvement
Source
https://github.com/advisories/GHSA-96v5-c2h5-56hm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-96v5-c2h5-56hm/GHSA-96v5-c2h5-56hm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-96v5-c2h5-56hm
Aliases
Published
2025-03-12T15:32:06Z
Modified
2025-03-19T15:58:36.862904Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
Apache Camel Message Header Injection through request parameters
Details

Bypass/Injection vulnerability in Apache Camel.

This issue affects Apache Camel: from 4.9.0 before 4.10.2, from 4.0.0 before 4.8.5, from 3.10.0 before 3.22.4.

Users are recommended to upgrade to version 4.10.2 for 4.10.x LTS, 4.8.5 for 4.8.x LTS and 3.22.4 for 3.x releases.

This vulnerability is present in Camel's default incoming header filter, that 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.

If you have Camel applications that are directly connected to the internet via HTTP, then an attacker could include parameters in the HTTP requests that are sent to the Camel application that get translated into headers. 

The headers could be both provided as request parameters for an HTTP methods invocation or as part of the payload of the HTTP methods invocation.

All the known Camel HTTP component such as camel-servlet, camel-jetty, camel-undertow, camel-platform-http, and camel-netty-http would be vulnerable out of the box.

This CVE is related to the CVE-2025-27636: while they have the same root cause and are fixed with the same fix, CVE-2025-27636 was assumed to only be exploitable if an attacker could add malicious HTTP headers, while we have now determined that it is also exploitable via HTTP parameters. Like in CVE-2025-27636, exploitation is only possible if the Camel route uses particular vulnerable components.

Database specific
{
    "nvd_published_at": "2025-03-12T15:15:40Z",
    "cwe_ids": [
        "CWE-164"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-12T20:19:10Z"
}
References

Affected packages

Maven / org.apache.camel:camel-support

Package

Name
org.apache.camel:camel-support
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-support

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.0
Fixed
3.22.4

Affected versions

3.*

3.10.0
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.11.5
3.11.6
3.11.7
3.12.0
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.14.4
3.14.5
3.14.6
3.14.7
3.14.8
3.14.9
3.14.10
3.15.0
3.16.0
3.17.0
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.18.5
3.18.6
3.18.7
3.18.8
3.19.0
3.20.0
3.20.1
3.20.2
3.20.3
3.20.4
3.20.5
3.20.6
3.20.7
3.20.8
3.20.9
3.21.0
3.21.1
3.21.2
3.21.3
3.21.4
3.21.5
3.22.0
3.22.1
3.22.2
3.22.3

Maven / org.apache.camel:camel-support

Package

Name
org.apache.camel:camel-support
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-support

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
4.10.2

Affected versions

4.*

4.9.0
4.10.0
4.10.1

Maven / org.apache.camel:camel-support

Package

Name
org.apache.camel:camel-support
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-support

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0-M1
Fixed
4.8.5

Affected versions

4.*

4.0.0-M1
4.0.0-M2
4.0.0-M3
4.0.0-RC1
4.0.0-RC2
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.5.0
4.6.0
4.7.0
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4