{"answers":{"affected":"7 open source packages ship an affected version, including rabbitmq and rabbit_common. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-31008 in the wild and no public exploit code.","fix":"Upgrade rabbitmq to 3.8.32 or later.","what":"CVE-2022-31008 is a medium-severity vulnerability in Broadcom Rabbitmq Server, published on 6 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31008 and fix it if it is affected.\n\nWhat it is: CVE-2022-31008 is a medium-severity vulnerability in Broadcom Rabbitmq Server, published on 6 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31008 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rabbitmq (Bitnami): affected all versions; fixed in 3.8.32\n- rabbit_common (Hex): affected from 3.10.0; fixed in 3.10.2\n- rabbit_common (Hex): affected from 3.10.0; fixed in 3.10.2\n- rabbit_common (Hex): affected from 3.8.0; fixed in 3.8.32\n- rabbit_common (Hex): affected from 3.8.0; fixed in 3.8.32\n- rabbit_common (Hex): affected from 3.9.0; fixed in 3.9.18\n- rabbit_common (Hex): affected from 3.9.0; fixed in 3.9.18\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-31008/ (Markdown: https://insights.sbomify.com/CVE-2022-31008/index.md)","id":"CVE-2022-31008","markdown":"https://insights.sbomify.com/CVE-2022-31008/index.md","name":"CVE-2022-31008","record":{"aliases":["BIT-rabbitmq-2022-31008","DEBIAN-CVE-2022-31008","GHSA-v9gv-xp36-jgj8","SUSE-SU-2022:4378-1","UBUNTU-CVE-2022-31008"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"RabbitMQ message broker","requires_auth":"low_privilege","summary":"Attackers can decrypt sensitive URIs in logs due to predictable encryption seeds in RabbitMQ Shovel and Federation plugins.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rabbitmq_server","vendor":"broadcom"},{"product":"rabbitmq","vendor":"vmware"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-335","name":"Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)"},{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"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.","ecosystems":["Bitnami","Hex","SUSE:Linux Enterprise Module for Server Applications 15 SP3","SUSE:Linux Enterprise Module for Server Applications 15 SP4","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Predictable credential obfuscation seed value used in rabbitmq-server","id":"CVE-2022-31008","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"broadcom:rabbitmq_server","products":["broadcom:rabbitmq_server"],"type":"weak_cryptography","year":"2022"},"n_packages":11,"n_references":2,"next":{"headline":"DoS vulnerability: Invalid Accent Colors","id":"CVE-2022-31009"},"packages":[{"ecosystem":"Bitnami","fixed":["3.8.32"],"introduced":["0"],"last_affected":[],"package":"rabbitmq","purl":"pkg:bitnami/rabbitmq","source":"BIT-rabbitmq-2022-31008"},{"ecosystem":"Hex","fixed":["3.10.2"],"introduced":["3.10.0"],"last_affected":[],"package":"rabbit_common","purl":null,"source":"GHSA-v9gv-xp36-jgj8"},{"ecosystem":"Hex","fixed":["3.10.2"],"introduced":["3.10.0"],"last_affected":[],"package":"rabbit_common","purl":"pkg:hex/rabbit_common","source":"GHSA-v9gv-xp36-jgj8"},{"ecosystem":"Hex","fixed":["3.8.32"],"introduced":["3.8.0"],"last_affected":[],"package":"rabbit_common","purl":null,"source":"GHSA-v9gv-xp36-jgj8"},{"ecosystem":"Hex","fixed":["3.8.32"],"introduced":["3.8.0"],"last_affected":[],"package":"rabbit_common","purl":"pkg:hex/rabbit_common","source":"GHSA-v9gv-xp36-jgj8"},{"ecosystem":"Hex","fixed":["3.9.18"],"introduced":["3.9.0"],"last_affected":[],"package":"rabbit_common","purl":null,"source":"GHSA-v9gv-xp36-jgj8"},{"ecosystem":"Hex","fixed":["3.9.18"],"introduced":["3.9.0"],"last_affected":[],"package":"rabbit_common","purl":"pkg:hex/rabbit_common","source":"GHSA-v9gv-xp36-jgj8"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP3","fixed":["3.8.11-150300.3.11.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/suse/rabbitmq-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP3","source":"SUSE-SU-2022:4378-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP4","fixed":["3.8.11-150300.3.11.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/suse/rabbitmq-server\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP4","source":"SUSE-SU-2022:4378-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["3.8.11-150300.3.11.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/opensuse/rabbitmq-server\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:4378-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["3.8.11-150300.3.11.1"],"introduced":["0"],"last_affected":[],"package":"rabbitmq-server","purl":"pkg:rpm/opensuse/rabbitmq-server\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:4378-1"}],"prev":{"headline":"Privilege escalation from administrator in eLabFTW","id":"CVE-2022-31007"},"products":["rabbitmq-server"],"published":"2022-10-06","related":[{"cvss_score":9.8,"headline":"Auth bypass in Pivotal RabbitMQ 3.x before 3.5.8 and 3.6.x before 3.6.6; RabbitMQ for PCF 1.5.x before 1.5.20, 1.6.x before 1.6.12 and 1.7.x before 1.7.7","id":"CVE-2016-9877","kev_date_added":null,"published":"2016-12-29"},{"cvss_score":9.2,"headline":"RabbitMQ: OAuth2 silent verify_none fallback for JWKS fetch","id":"CVE-2026-67404","kev_date_added":null,"published":"2026-09-23"},{"cvss_score":9.1,"headline":"RabbitMQ: Trust-store whitelist by Issuer+Serial only","id":"CVE-2026-67231","kev_date_added":null,"published":"2026-09-23"},{"cvss_score":8.7,"headline":"Information disclosure in rabbitmq-server","id":"CVE-2026-57219","kev_date_added":null,"published":"2026-07-10"},{"cvss_score":8.2,"headline":"RabbitMQ: Plaintext username:password stored in an insecure cookie after successful POST /login","id":"CVE-2026-67236","kev_date_added":null,"published":"2026-09-25"},{"cvss_score":8.2,"headline":"RabbitMQ: JWKS Fetch Ignores HTTP Response Status Code - Signing Key Destruction Causes Authentication DoS","id":"CVE-2026-67409","kev_date_added":null,"published":"2026-09-25"},{"cvss_score":8.2,"headline":"RabbitMQ: OAuth2 Client Secret Exposed via Unauthenticated JavaScript Endpoint","id":"CVE-2026-67410","kev_date_added":null,"published":"2026-09-25"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["rabbitmq"]},"summary":"Attackers can decrypt sensitive URIs in logs due to predictable encryption seeds in RabbitMQ Shovel and Federation plugins.","url":"https://insights.sbomify.com/CVE-2022-31008/"}