CVE-2022-31008: Predictable credential obfuscation seed value used in rabbitmq-server

Published Oct 6, 2022
·
Updated

Impact

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.

Patches

Patched versions:

3.10.2 3.9.18 3.8.32

Workarounds

Disable Shovel and Federation plugins.

Credits

RabbitMQ core team would like to thank Lajos @luos Gerecs and Anh Nguyen from Erlang Solutions for responsibly disclosing and working with us on a patch for this vulnerability.

For more information

Mailing list Community Slack

Other sources

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.

Affected Software

8 affected componentsFixes available
VMware RabbitMQ<3.8.32
VMware RabbitMQ>=3.9.0<3.9.18
VMware RabbitMQ>=3.10.0<3.10.2
Broadcom Rabbitmq Server>=3.9.0<3.9.18
Broadcom Rabbitmq Server>=3.10.0<3.10.2
erlang/rabbit_common>=3.8.0<3.8.32
3.8.32
erlang/rabbit_common>=3.9.0<3.9.18
3.9.18
erlang/rabbit_common>=3.10.0<3.10.2
3.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade erlang/rabbit_common to a version that resolves this vulnerability.

    Fixed in 3.8.32
  2. Upgrade

    Upgrade erlang/rabbit_common to a version that resolves this vulnerability.

    Fixed in 3.9.18
  3. Upgrade

    Upgrade erlang/rabbit_common to a version that resolves this vulnerability.

    Fixed in 3.10.2
  4. Upgrade

    Upgrade rabbitmq-server to a version that resolves this vulnerability.

    Fixed in 3.10.2
  5. Upgrade

    Upgrade rabbitmq-server to a version that resolves this vulnerability.

    Fixed in 3.9.18
  6. Upgrade

    Upgrade rabbitmq-server to a version that resolves this vulnerability.

    Fixed in 3.8.32
  7. Configuration

    Disable the Shovel plugin (workaround for users unable to upgrade).

    RabbitMQ Shovel plugin plugin_enabled = false
  8. Configuration

    Disable the Federation plugin (workaround for users unable to upgrade).

    RabbitMQ Federation plugin plugin_enabled = false

Event History

Oct 6, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 30, 2026
Advisory Published
via GitHub·04:15 PM
Data Sourced
via GitHub·04:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-31008?

CVE-2022-31008 is a vulnerability in RabbitMQ where the shovel and federation plugins perform URI obfuscation in their worker state, using a predictable encryption key.

2

How can CVE-2022-31008 impact me?

CVE-2022-31008 can potentially allow an attacker to decrypt the obfuscated URI and gain unauthorized access to sensitive information or perform other malicious activities.

3

What versions of RabbitMQ are affected by CVE-2022-31008?

CVE-2022-31008 affects RabbitMQ versions up to and including 3.8.32, 3.9.0 to 3.9.18, and 3.10.0 to 3.10.2.

4

How do I fix CVE-2022-31008?

To fix CVE-2022-31008, upgrade your RabbitMQ installation to a version that is not affected by the vulnerability.

5

Are there any references for CVE-2022-31008?

Yes, you can find more information about CVE-2022-31008 in the following references: [Link 1](https://github.com/rabbitmq/rabbitmq-server/pull/4841) and [Link 2](https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-v9gv-xp36-jgj8).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203