rabbitmq-server: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
CVE-2022-31008 is a high-severity incorrect usage of seeds in pseudo-random number generator (PRNG) vulnerability in rabbitmq-server from Rabbitmq, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected rabbitmq-server versions: < 3.8.32; >= 3.9.0, < 3.9.18; >= 3.10.0, < 3.10.2. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.4% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Rabbitmq to 3.8.32 or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Rabbitmq | rabbitmq-server | < 3.8.32; >= 3.9.0, < 3.9.18; >= 3.10.0, < 3.10.2 | Not stated |
| VMware | Rabbitmq | before 3.8.32 | 3.8.32 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.5 | Medium | CNA (github.com) |
| CVSS 3.1 | 7.5 | High | NVD |
Official description
RabbitMQ is a multi-protocol messaging and streaming broker. In affected versions the shovel and federation plugins perform URI obfuscation in their worker (link) state. The encryption key used to encrypt the URI was seeded with a predictable secret. This means that in case of certain exceptions related to Shovel and Federation plugins, reasonably easily deobfuscatable data could appear in the node log. Patched versions correctly use a cluster-wide secret for that purpose. This issue has been addressed and Patched versions: `3.10.2`, `3.9.18`, `3.8.32` are available. Users unable to upgrade should disable the Shovel and Federation plugins.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
The product uses a Pseudo-Random Number Generator (PRNG) but does not correctly manage seeds.
More Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) vulnerabilities (CWE-335)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
- github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-v9gv-xp36-jgj8Third Party Advisory
Patches and release notes
- github.com/rabbitmq/rabbitmq-server/pull/4841Third Party Advisory
Other vulnerabilities in rabbitmq-server
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 9.3 Critical severity
- 7.5 High severity
Recent Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) vulnerabilities
- 7.5 High severity
- 9.8 Critical severity
Spotted an error? Tell us.