CVE-2021-22116
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to...
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- Record
CVE-2021-22116- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-400, CWE-20
- Updated
- 2026-11-02
CVE List No score
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- Record
CVE-2021-22116- Weakness
- CWE-400
- Updated
- 2026-11-02
EUVDEUVD-2021-9274 No score
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- Record
EUVD-2021-9274- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5hjq-8gx9-79g4
7.5
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to...
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- Record
GHSA-5hjq-8gx9-79g4- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
7.5
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- Record
CVE-2021-22116- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-22116
7.5
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- Record
DEBIAN-CVE-2021-22116- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVOESA-2026-3940
8.8
rabbitmq-server security update
RabbitMQ is an implementation of AMQP, the emerging standard for high performance enterprise messaging. The RabbitMQ server is a robust and scalable implementation of an AMQP broker.
Security Fix(es):
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.(CVE-2021-22116)
RabbitMQ is a messaging and streaming broker. Prior to 4.2.5, the RabbitMQ management UI renders the x-internal-purpose queue or exchange argument into an HTML title attribute without proper escaping on the Queues and Exchanges pages, allowing a user with permission to declare a queue or exchange to execute JavaScript in another user's browser. This issue is fixed in version 4.2.5.(CVE-2026-57214)
RabbitMQ is a messaging and streaming broker. Prior to 3.13.15, 4.0.20, 4.1.11, and 4.2.6, RabbitMQ allows foreign bindings to amq.rabbitmq.reply-to destinations because volatile direct-reply-to queues can be accepted at bind and route time but are missing from Khepri-backed deletion checks, leaving persistent route entries after unbind. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6.(CVE-2026-57215)
RabbitMQ is a messaging and streaming broker. Prior to 3.13.15, 4.0.20, 4.1.11, and 4.2.6, AMQP 0-9-1, AMQP 1.0, and Stream Protocol authentication can allow a loopback-restricted user such as guest to connect remotely when traffic is accepted through a trusted PROXY-protocol path and the backend listener is loopback-bound because the loopback check uses the listener-side socket address instead of the real client source. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6.(CVE-2026-57216)
RabbitMQ is a messaging and streaming broker. Prior to 3.13.15, 4.0.20, 4.1.11, and 4.2.6, RabbitMQ does not perform authorization checks on passive queue.declare and exchange.declare AMQP 0-9-1 operations, allowing any authenticated user who can connect to a virtual host to enumerate queue and exchange names and read queue message and consumer counts. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6.(CVE-2026-57221)
An authenticated tenant that is allowed to bind and publish to an x-jms-topic exchange can repeatedly consume RabbitMQ scheduler CPU while messages are routed. This delays publisher confirms and competes with unrelated broker work on the same node. The attacker can amplify the effect by publishing more messages or using multiple bindings, channels, or connections.
The issue does not provide message disclosure, privilege escalation, or code execution. Its demonstrated impact is availability degradation. The reproduction establishes substantial per-message CPU amplification but does not claim that a single test connection alone causes a complete node outage.(CVE-2026-67413)
- Record
OESA-2026-3940- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-22116
7.5
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- Record
UBUNTU-CVE-2021-22116- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBIT-rabbitmq-2021-22116 No score
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- Record
BIT-rabbitmq-2021-22116- Updated
- 2026-11-02
OSVMGASA-2021-0390 No score
Updated rabbitmq-server packages fix security vulnerabilities
Updated rabbitmq-server packages fix security vulnerabilities:
RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled (CVE-2021-22116).
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) (CVE-2021-32718).
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 (CVE-2021-32719).
- Record
MGASA-2021-0390- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:1334-1 No score
Security update for rabbitmq-server
This update for rabbitmq-server fixes the following issues:
-
CVE-2021-32718: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI (bsc#1187818).
-
CVE-2021-32719: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin (bsc#1187819).
-
CVE-2021-22116: Fixed improper input validation may lead to DoS (bsc#1186203).
-
Use /run instead of /var/run in tmpfiles.d configuration (bsc#1185075).
This update was imported from the SUSE:SLE-15-SP2:Update update project.
- Record
openSUSE-SU-2021:1334-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:3325-1 No score
Security update for rabbitmq-server
This update for rabbitmq-server fixes the following issues:
-
CVE-2021-32718: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI (bsc#1187818).
-
CVE-2021-32719: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin (bsc#1187819).
-
CVE-2021-22116: Fixed improper input validation may lead to DoS (bsc#1186203).
-
Use /run instead of /var/run in tmpfiles.d configuration (bsc#1185075).
- Record
openSUSE-SU-2021:3325-1- Updated
- 2026-11-02
OSVSUSE-FU-2024:2078-1 No score
Feature update for rabbitmq-server313, erlang26, elixir115
This update for rabbitmq-server313, erlang26, elixir115 fixes the following issues:
rabbitmq-server was implemented with a parallel versioned RPM package at version 3.13.1 (jsc#PED-8414):
-
Security issues fixed:
- CVE-2021-22116: Fixed improper input validation that may lead to Denial of Sercice (DoS) attacks (bsc#1186203)
- CVE-2021-32718, CVE-2021-32719: Fixed potential for JavaScript code execution in the management UI (bsc#1187818, bsc#1187819)
- CVE-2022-31008: Fixed encryption key used to encrypt the URI was seeded with a predictable secret (bsc#1205267)
- CVE-2023-46118: Fixed HTTP API vulnerability for denial of service (DoS) attacks with very large messages (bsc#1216582)
-
Other bugs fixed:
- Fixed RabbitMQ maintenance status issue (bsc#1199431)
- Provide user/group for RPM 4.19 (bsc#1219532)
- Fixed
rabbitmqctlcommand foradd_user(bsc#1222591) - Added hardening to systemd service(s) (bsc#1181400)
- Use /run instead of deprecated /var/run in tmpfiles.conf (bsc#1185075)
-
For the full list of upstream changes of this update between version 3.8.11 and 3.13.1 please consult:
erlang26:
- Provide RPM package as it's a dependency of rabbitmq-server313 (jsc#PED-8414)
elixir115:
- Provide RPM package as needed in some cases by rabbitmq-server313 (jsc#PED-8414)
- Record
SUSE-FU-2024:2078-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3254-1 No score
Security update for rabbitmq-server
This update for rabbitmq-server fixes the following issues:
-
CVE-2021-32718: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI (bsc#1187818).
-
CVE-2021-32719: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin (bsc#1187819).
-
CVE-2021-22116: Fixed improper input validation may lead to DoS (bsc#1186203).
-
Use /run instead of /var/run in tmpfiles.d configuration (bsc#1185075).
- Record
SUSE-SU-2021:3254-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3325-1 No score
Security update for rabbitmq-server
This update for rabbitmq-server fixes the following issues:
-
CVE-2021-32718: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI (bsc#1187818).
-
CVE-2021-32719: Fixed improper neutralization of script-related HTML tags in a web page (basic XSS) in federation management plugin (bsc#1187819).
-
CVE-2021-22116: Fixed improper input validation may lead to DoS (bsc#1186203).
-
Use /run instead of /var/run in tmpfiles.d configuration (bsc#1185075).
- Record
SUSE-SU-2021:3325-1- Updated
- 2026-11-02
OSVUSN-5004-1 No score
rabbitmq-server vulnerabilities
It was discovered that RabbitMQ incorrectly handled certain inputs. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 LTS. (CVE-2019-11287)
Jonathan Knudsen discovered RabbitMQ incorrectly handled certain inputs. An attacker could possibly use this issue to cause a denial of service. (CVE-2021-22116)
- Record
USN-5004-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rabbitmqBitnami |
before 3.8.16 | 3.8.16 |
rabbitmq-serverDebian:12 |
before 3.9.4-1 | 3.9.4-1 |
rabbitmq-serverDebian:13 |
before 3.9.4-1 | 3.9.4-1 |
rabbitmq-serverDebian:14 |
before 3.9.4-1 | 3.9.4-1 |
rabbitmq-serverDebian:9 From an advisory covering 6 CVEs |
before 3.6.6-1+deb9u1, plus listed versions 3.6.6-1 |
3.6.6-1+deb9u1 |
rabbitmq-serverMageia:8 From an advisory covering 3 CVEs |
before 3.8.18-1.mga8 | 3.8.18-1.mga8 |
rabbitmq-serveropenEuler:20.03-LTS-SP4 From an advisory covering 6 CVEs |
before 3.7.23-2.oe2003sp4 | 3.7.23-2.oe2003sp4 |
elixir115SUSE:Linux Enterprise Module for Server Applications 15 SP6 From an advisory covering 5 CVEs |
before 1.15.7-150300.7.5.1 | 1.15.7-150300.7.5.1 |
erlang26SUSE:Linux Enterprise Module for Server Applications 15 SP6 From an advisory covering 5 CVEs |
before 26.2.1-150300.7.5.1 | 26.2.1-150300.7.5.1 |
rabbitmq-server313SUSE:Linux Enterprise Module for Server Applications 15 SP6 From an advisory covering 5 CVEs |
before 3.13.1-150600.13.5.3 | 3.13.1-150600.13.5.3 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
elixir115openSUSE:Leap 15.6 From an advisory covering 5 CVEs |
before 1.15.7-150300.7.5.1 | 1.15.7-150300.7.5.1 |
erlang26openSUSE:Leap 15.6 From an advisory covering 5 CVEs |
before 26.2.1-150300.7.5.1 | 26.2.1-150300.7.5.1 |
rabbitmq-server313openSUSE:Leap 15.6 From an advisory covering 5 CVEs |
before 3.13.1-150600.13.5.3 | 3.13.1-150600.13.5.3 |
rabbitmq-serverSUSE:Linux Enterprise Module for Server Applications 15 SP2 From an advisory covering 3 CVEs |
before 3.8.3-3.3.4 | 3.8.3-3.3.4 |
rabbitmq-serverSUSE:Linux Enterprise Module for Server Applications 15 SP3 From an advisory covering 3 CVEs |
before 3.8.11-3.3.3 | 3.8.11-3.3.3 |
rabbitmq-serverUbuntu:Pro:16.04:LTS |
before 3.5.7-1ubuntu0.16.04.4+esm1, plus listed versions 3.5.4-13.5.4-33.5.4-3.13.5.7-13.5.7-1ubuntu0.16.04.13.5.7-1ubuntu0.16.04.23.5.7-1ubuntu0.16.04.4 |
3.5.7-1ubuntu0.16.04.4+esm1 |
rabbitmq-serverUbuntu:18.04:LTS |
before 3.6.10-1ubuntu0.5, plus listed versions 3.6.10-13.6.10-1ubuntu0.13.6.10-1ubuntu0.33.6.10-1ubuntu0.4 |
3.6.10-1ubuntu0.5 |
rabbitmq-serverUbuntu:20.04:LTS |
before 3.8.2-0ubuntu1.3, plus listed versions 3.7.8-4ubuntu23.7.18-13.8.2-0ubuntu13.8.2-0ubuntu1.13.8.2-0ubuntu1.2 |
3.8.2-0ubuntu1.3 |
rabbitmq-serverUbuntu:22.04:LTS |
before 3.8.9-3ubuntu1 | 3.8.9-3ubuntu1 |
rabbitmq-serverUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 3.5.7-1ubuntu0.16.04.4+esm1, plus listed versions 3.5.4-13.5.4-33.5.4-3.13.5.7-13.5.7-1ubuntu0.16.04.13.5.7-1ubuntu0.16.04.23.5.7-1ubuntu0.16.04.4 |
3.5.7-1ubuntu0.16.04.4+esm1 |
rabbitmq-serverUbuntu:18.04:LTS From an advisory covering 2 CVEs |
before 3.6.10-1ubuntu0.5, plus listed versions 3.6.10-13.6.10-1ubuntu0.13.6.10-1ubuntu0.33.6.10-1ubuntu0.4 |
3.6.10-1ubuntu0.5 |
rabbitmq-serverUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 3.8.2-0ubuntu1.3, plus listed versions 3.7.8-4ubuntu23.7.18-13.8.2-0ubuntu13.8.2-0ubuntu1.13.8.2-0ubuntu1.2 |
3.8.2-0ubuntu1.3 |
rabbitmq-serveropenSUSE:Leap 15.2 From an advisory covering 3 CVEs |
before 3.8.3-lp152.2.3.1 | 3.8.3-lp152.2.3.1 |
rabbitmq-serveropenSUSE:Leap 15.3 From an advisory covering 3 CVEs |
before 3.8.11-3.3.3 | 3.8.11-3.3.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-22116 is a high vulnerability (CVSS 7.5) in Vmware Rabbitmq, published June 8, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.39%, the 72nd percentile. Fixed in rabbitmq 3.8.16.
References
tanzu.vmware.com/security/cve-2021-22116
lists.debian.org/debian-lts-announce/2021/07/msg00011.html
nvd.nist.gov/vuln/detail/CVE-2021-22116
github.com/advisories/GHSA-5hjq-8gx9-79g4
security-tracker.debian.org/tracker/CVE-2021-22116
advisories.mageia.org/MGASA-2021-0390.html
Show 32 moreShow less
bugs.mageia.org/show_bug.cgi?id=29174
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3940
nvd.nist.gov/vuln/detail/CVE-2026-57214
nvd.nist.gov/vuln/detail/CVE-2026-57215
nvd.nist.gov/vuln/detail/CVE-2026-57216
nvd.nist.gov/vuln/detail/CVE-2026-57221
nvd.nist.gov/vuln/detail/CVE-2026-67413
suse.com/support/update/announcement/-2024-2078/suse-fu-20242078-1
bugzilla.suse.com/1181400
bugzilla.suse.com/1185075
bugzilla.suse.com/1186203
bugzilla.suse.com/1187818
bugzilla.suse.com/1187819
bugzilla.suse.com/1199431
bugzilla.suse.com/1205267
bugzilla.suse.com/1216582
bugzilla.suse.com/1219532
bugzilla.suse.com/1222591
suse.com/security/cve/CVE-2021-22116
suse.com/security/cve/CVE-2021-32718
suse.com/security/cve/CVE-2021-32719
suse.com/security/cve/CVE-2022-31008
suse.com/security/cve/CVE-2023-46118
suse.com/support/update/announcement/2021/suse-su-20213254-1
suse.com/support/update/announcement/2021/suse-su-20213325-1
ubuntu.com/security/CVE-2021-22116
github.com/rabbitmq/rabbitmq-server/pull/2953
ubuntu.com/security/notices/USN-5004-1
cve.org/CVERecord?id=CVE-2021-22116
ubuntu.com/security/CVE-2019-11287
lists.opensuse.org/archives/list/[email protected]/thread/FWIIK75CV5Y6TWUXN67IYXFNHIHRZSXN
lists.opensuse.org/archives/list/[email protected]/thread/7NL4I6R5WB6N3LAJGL2UC3TXXGKBNRLE