Description
A vulnerability exists in Apache Artemis whereby an application using the STOMP protocol with security credentials that grant either the consume or send permission on an address can augment the routing-type supported by that address even if said user doesn't have the createAddress permission for that particular address. A user could successfully send a message to an address or consume a message from a queue with a routing-type not supported by the corresponding address when that operation should actually be rejected on the basis that the user doesn't have permission to change the routing-type of the address. Even though the user was already granted permission to send and/or consume messages, they should not be able to augment the routing-type of the address without the createAddress permission.
This issue affects Apache Artemis: from 2.50.0 through 2.53.0; Apache ActiveMQ Artemis: from 2.0.0 through 2.44.0.
Users are recommended to upgrade to version 2.54.0, which fixes the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Artemis Stomp Protocol | 2.50.0 – ≤ 2.53.0 | — |
| Apache Software Foundation | Apache ActiveMQ Artemis Stomp Protocol | 2.0.0 – ≤ 2.44.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | wildfly-openjdk-17 +1 | 40.0.1-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.artemis:artemis-stomp-protocol | >= 2.50.0, < 2.54.0 | 2.54.0 | GHSA-rf99-f9j2-gv3f |
| Maven | org.apache.artemis:artemis-stomp-protocol | >= 2.0.0, <= 2.44.0 | — | GHSA-rf99-f9j2-gv3f |
References
- https://lists.apache.org/thread/6q3st8dlorz2q05svqn11k1xl7jkmm4c vendor-advisory