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-10-15T14:08:09Z
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:Pro:16.04:LTS / rabbitmq-server

Package

Name
rabbitmq-server
Purl
pkg:deb/ubuntu/rabbitmq-server?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.5.4-1
3.5.4-3
3.5.4-3.1
3.5.7-1
3.5.7-1ubuntu0.16.04.1
3.5.7-1ubuntu0.16.04.2
3.5.7-1ubuntu0.16.04.4
3.5.7-1ubuntu0.16.04.4+esm1
3.5.7-1ubuntu0.16.04.4+esm2

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:18.04:LTS / rabbitmq-server

Package

Name
rabbitmq-server
Purl
pkg:deb/ubuntu/rabbitmq-server?arch=src?distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.6.10-1
3.6.10-1ubuntu0.1
3.6.10-1ubuntu0.3
3.6.10-1ubuntu0.4
3.6.10-1ubuntu0.5

Ecosystem specific

{
    "ubuntu_priority": "low"
}

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

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

Ecosystem specific

{
    "ubuntu_priority": "low"
}

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"
        }
    ]
}