CyberSecBulletin
CVE-2022-31008NVD status: Modified

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.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Rabbitmq to 3.8.32 or a later version.
  2. Read the advisory on github.com for workarounds and exact fixed builds.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Rabbitmqrabbitmq-server< 3.8.32; >= 3.9.0, < 3.9.18; >= 3.10.0, < 3.10.2Not stated
VMwareRabbitmqbefore 3.8.323.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 systemScoreSeverityScored by
CVSS 3.15.5MediumCNA (github.com)
CVSS 3.17.5HighNVD

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

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Patches and release notes

Other vulnerabilities in rabbitmq-server

All rabbitmq-server vulnerabilities

Recent Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) vulnerabilities

Spotted an error? Tell us.