UBUNTU-CVE-2021-32718

Source
https://ubuntu.com/security/CVE-2021-32718
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32718.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-32718
Related
Published
2021-06-28T15:15:00Z
Modified
2024-12-10T04:29:36Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

RabbitMQ is a multi-protocol messaging broker. In rabbitmq-server prior to version 3.8.17, a new user being added via management UI could lead to the user's bane being rendered in a confirmation message without proper <script> tag sanitization, potentially allowing for JavaScript code execution in the context of the page. In order for this to occur, the user must be signed in and have elevated permissions (other user management). The vulnerability is patched in RabbitMQ 3.8.17. As a workaround, disable rabbitmq_management plugin and use CLI tools for management operations and Prometheus and Grafana for metrics and monitoring.

References

Affected packages

Ubuntu:20.04:LTS / rabbitmq-server

Package

Name
rabbitmq-server
Purl
pkg:deb/ubuntu/rabbitmq-server?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.3-0ubuntu0.2

Affected versions

3.*

3.7.8-4ubuntu2
3.7.18-1
3.8.2-0ubuntu1
3.8.2-0ubuntu1.1
3.8.2-0ubuntu1.2
3.8.2-0ubuntu1.3
3.8.2-0ubuntu1.4
3.8.2-0ubuntu1.5
3.8.3-0ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.8.3-0ubuntu0.2",
            "binary_name": "rabbitmq-server"
        }
    ]
}

Ubuntu:22.04:LTS / rabbitmq-server

Package

Name
rabbitmq-server
Purl
pkg:deb/ubuntu/rabbitmq-server?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.8-6

Affected versions

3.*

3.8.9-3ubuntu1
3.9.8-1
3.9.8-2
3.9.8-3
3.9.8-5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.9.8-6",
            "binary_name": "rabbitmq-server"
        }
    ]
}