VDB
Sign up
MEDIUM4.3

GHSA-rf99-f9j2-gv3f

Apache Artemis has an Incorrect Authorization issue

Quick fix

GHSA-rf99-f9j2-gv3f — org.apache.artemis:artemis-stomp-protocol: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.54.0</version> for org.apache.artemis:artemis-stomp-protocol

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.artemis:artemis-stomp-protocol
Introduced in: 2.50.0Fixed in: 2.54.0
Fix# pom.xml: bump <version>2.54.0</version> for org.apache.artemis:artemis-stomp-protocol
Maven/org.apache.artemis:artemis-stomp-protocol
Introduced in: 2.0.0

No fixed version published yet for org.apache.artemis:artemis-stomp-protocol (maven). Pin to a known-safe version or switch to an alternative.

References