CVE-2021-32719: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ federation management plugin
Last updated 9 December 2024
Other sources
RabbitMQ is a multi-protocol messaging broker. In rabbitmq-server prior to version 3.8.18, when a federation link was displayed in the RabbitMQ management UI via the rabbitmqfederationmanagement plugin, its consumer tag was rendered without proper <script> tag sanitization. This potentially allows for JavaScript code execution in the context of the page. The user must be signed in and have elevated permissions (manage federation upstreams and policies) for this to occur. The vulnerability is patched in RabbitMQ 3.8.18. As a workaround, disable the rabbitmqfederationmanagement plugin and use CLI tools instead.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/rabbitmq-serverto a version that resolves this vulnerability.Fixed in 3.10.8-1.1+deb12u1Fixed in 3.10.8-4 - Upgrade
Upgrade
alpine/rabbitmq-serverto a version that resolves this vulnerability.Fixed in 3.9.1-r0 - Upgrade
Upgrade
rabbitmq-serverto a version that resolves this vulnerability.Fixed in 3.8.18 - Configuration
Disable the rabbitmq_federation_management plugin and use CLI tools instead.
RabbitMQ rabbitmq_federation_management plugin = disabled
Event History
Frequently Asked Questions
What is RabbitMQ?
RabbitMQ is a multi-protocol messaging broker.
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2021-32719.
What is the severity of CVE-2021-32719?
The severity of CVE-2021-32719 is medium (4.8).
How does CVE-2021-32719 affect the affected software?
CVE-2021-32719 affects VMware Rabbitmq versions up to and excluding 3.8.18.
How can I fix CVE-2021-32719?
To fix CVE-2021-32719, update your RabbitMQ instance to version 3.8.18 or later.