Apache Camel: Camel-AS2 Cross-Partner MDN Credential and Allow-List Confusion via Shared Per-Port Server Connection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Camel | unaffected |
|
No data.
No data.
No data available yet.
Vendor Solution
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.
Vendor Workaround
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS releases stream should upgrade to 4.22.3; users on the 4.18.x LTS releases stream should upgrade to 4.18.6. AS2 consumers that share a port now deliver asynchronous MDNs with their own credentials and allowed-host list. For deployments that cannot upgrade immediately, run one listening port per trading partner (a separate Camel context in the same JVM shares the per-port server connection and does not isolate them), or configure the MDN credentials and asyncMdnAllowedHosts only on the first consumer of a port when every consumer on that port belongs to the same partner. The camel-4.14.x line reached end of life before this fix and does not receive it.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Exposure of Resource to Wrong Sphere vulnerability in Apache Camel AS2 component. This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0. camel-as2 keeps one server connection per listening port and builds it from the first endpoint configured on that port. The signing and decrypting material was already selected per request path, but the credentials used to authenticate an asynchronous Message Disposition Notification (mdnUserName, mdnPassword, mdnAccessToken) and the asyncMdnAllowedHosts list were taken from that first endpoint for every consumer on the port. Where a deployment serves several trading partners on one port under different request paths, the receipt for a message sent to another partner's path was therefore delivered with the first partner's credentials, to a sender-chosen address constrained only by the first partner's allow-list, while the other consumer's own credentials and allow-list were ignored without any warning. Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS releases stream should upgrade to 4.22.3; users on the 4.18.x LTS releases stream should upgrade to 4.18.6. AS2 consumers that share a port now deliver asynchronous MDNs with their own credentials and allowed-host list. For deployments that cannot upgrade immediately, run one listening port per trading partner (a separate Camel context in the same JVM shares the per-port server connection and does not isolate them), or configure the MDN credentials and asyncMdnAllowedHosts only on the first consumer of a port when every consumer on that port belongs to the same partner. The camel-4.14.x line reached end of life before this fix and does not receive it. | |
| Title | Apache Camel: Camel-AS2 Cross-Partner MDN Credential and Allow-List Confusion via Shared Per-Port Server Connection | |
| Weaknesses | CWE-668 | |
| References |
| |
| Metrics |
cvssV3_1
|