Bug 1977008 (CVE-2021-32719) - CVE-2021-32719 rabbitmq-server: improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin
Summary: CVE-2021-32719 rabbitmq-server: improper neutralization of script-related HTM...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2021-32719
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1977009 1977010 1990960 1990961 1990962 1990963
Blocks: 1977005
TreeView+ depends on / blocked
 
Reported: 2021-06-28 18:06 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-12-07 19:25 UTC (History)
19 users (show)

Fixed In Version: rabbitmq 3.8.18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-22 21:54:45 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:8851 0 None None None 2022-12-07 19:25:40 UTC

Description Guilherme de Almeida Suckevicz 2021-06-28 18:06:07 UTC
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 `rabbitmq_federation_management` 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 `rabbitmq_federation_management` plugin and use [CLI tools](https://www.rabbitmq.com/cli.html) instead.

Reference:
https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-5452-hxj4-773x

Upstream patch:
https://github.com/rabbitmq/rabbitmq-server/pull/3122

Comment 1 Guilherme de Almeida Suckevicz 2021-06-28 18:06:32 UTC
Created rabbitmq-server tracking bugs for this issue:

Affects: epel-7 [bug 1977010]
Affects: fedora-all [bug 1977009]

Comment 4 Tapas Jena 2021-07-06 09:28:56 UTC
RabbitMq-server is no more relevant(not in use) to Ansible Tower after Tower v3.6 and and Tower upto v3.6 are already EOL. Hence, marking Tower as "Not Affected" by this vulnerability.

Comment 5 Product Security DevOps Team 2021-07-22 21:54:45 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-32719

Comment 7 errata-xmlrpc 2022-12-07 19:25:38 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.2

Via RHSA-2022:8851 https://access.redhat.com/errata/RHSA-2022:8851


Note You need to log in before you can comment on or make changes to this bug.