{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-40681 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-40681 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-40681 is a high-severity vulnerability in IBM MQ, published on 7 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-40681 and fix it if it is affected.\n\nWhat it is: CVE-2024-40681 is a high-severity vulnerability in IBM MQ, published on 7 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-40681 in the wild and no public exploit code.\n\nAffected product: IBM MQ. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-40681/ (Markdown: https://insights.sbomify.com/CVE-2024-40681/index.md)","id":"CVE-2024-40681","markdown":"https://insights.sbomify.com/CVE-2024-40681/index.md","name":"CVE-2024-40681","record":{"aliases":["GHSA-pw8x-jjg5-pg2p"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"IBM MQ","requires_auth":"low_privilege","summary":"An authenticated user in a specific role can bypass security restrictions to execute unauthorized actions against the queue manager.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ibm","cpe":[{"product":"mq_operator","vendor":"ibm"},{"product":"supplied_mq_advanced_container_images","vendor":"ibm"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"description":"IBM MQ 9.1 LTS, 9.2 LTS, 9.3 LTS, 9.3 CD, 9.4 LTS, and 9.4 CD could allow an authenticated user in a specifically defined role, to bypass security restrictions and execute actions against the queue manager.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"IBM MQ security bypass","id":"CVE-2024-40681","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"IBM SmartCloud Analytics - Log Analysis denial of service","id":"CVE-2024-40682"},"packages":[],"prev":{"headline":"IBM MQ denial of service","id":"CVE-2024-40680"},"products":["MQ"],"published":"2024-09-07","related":[{"cvss_score":8.8,"headline":"IBM MQ Buffer Overflow","id":"CVE-2026-10572","kev_date_added":null,"published":"2026-10-19"},{"cvss_score":8.8,"headline":"IBM MQ Buffer Overflow","id":"CVE-2026-10574","kev_date_added":null,"published":"2026-10-19"},{"cvss_score":8.8,"headline":"IBM MQ Race Condition","id":"CVE-2026-10743","kev_date_added":null,"published":"2026-10-19"},{"cvss_score":8.1,"headline":"IBM MQ Buffer Overflow","id":"CVE-2026-12665","kev_date_added":null,"published":"2026-10-19"},{"cvss_score":8.1,"headline":"IBM MQ Container authentication bypass","id":"CVE-2024-39742","kev_date_added":null,"published":"2024-07-08"},{"cvss_score":7.5,"headline":"IBM MQ Deserialization of Untrusted Data","id":"CVE-2026-12148","kev_date_added":null,"published":"2026-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"total"},"state":"PUBLISHED","updated":"2024-10-31","vendors":["IBM"]},"summary":"An authenticated user in a specific role can bypass security restrictions to execute unauthorized actions against the queue manager.","url":"https://insights.sbomify.com/CVE-2024-40681/"}