CVE-2021-32719: RabbitMQ is a multi-protocol messaging broker.
Medium CVSS 4.8
- CVE id
- CVE-2021-32719
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| RabbitMQ Runtimes and servers |
< 3.8.18 | 3.8.18 |
How to fix it
Upgrade RabbitMQ to 3.8.18 or later.
rabbitmqctl version
- Upgrade RabbitMQ (the rabbitmq image tag or the rabbitmq-server package) to the patched release, node by node.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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 instead.
References
- CVE-2021-32719 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-32719
- Web: https://github.com/rabbitmq/rabbitmq-server/pull/3122
- Web: https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-5452-hxj4-773x
- Web: https://herolab.usd.de/security-advisories/usd-2021-0011/
- Web: https://github.com/rabbitmq/rabbitmq-server/pull/3122
- Web: https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-5452-hxj4-773x
- Web: https://herolab.usd.de/security-advisories/usd-2021-0011/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.