Vulnerability · Published Jun 28, 2021 · Assigned by GitHub_M

CVE-2021-32719Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ federation management plugin

Low 3.1

In plain English

A low-severity security flaw in rabbitmq-server from rabbitmq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)1.4%top 27.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20rabbitmq-server3.9.1-r0ALPINE-CVE-2021-32719
Alpine:v3.21rabbitmq-server3.9.1-r0ALPINE-CVE-2021-32719
Alpine:v3.22rabbitmq-server3.9.1-r0ALPINE-CVE-2021-32719
Alpine:v3.23rabbitmq-server3.9.1-r0ALPINE-CVE-2021-32719
Alpine:v3.24rabbitmq-server3.9.1-r0ALPINE-CVE-2021-32719
Debian:12rabbitmq-server3.9.4-1DEBIAN-CVE-2021-32719
Debian:13rabbitmq-server3.9.4-1DEBIAN-CVE-2021-32719
Debian:14rabbitmq-server3.9.4-1DEBIAN-CVE-2021-32719

Affected products (as reported)

VendorProductVersions
rabbitmq rabbitmq-server < 3.8.18

Weakness: CWE-80 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N

References