{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-21646 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-21646 is a critical vulnerability in azure-uamqp-c, published on 9 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-21646 and fix it if it is affected.\n\nWhat it is: CVE-2024-21646 is a critical vulnerability in azure-uamqp-c, published on 9 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-21646 in the wild and no public exploit code.\n\nAffected product: azure-uamqp-c. 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-21646/ (Markdown: https://insights.sbomify.com/CVE-2024-21646/index.md)","id":"CVE-2024-21646","markdown":"https://insights.sbomify.com/CVE-2024-21646/index.md","name":"CVE-2024-21646","record":{"aliases":["AZL-33284","AZL-34555","DEBIAN-CVE-2024-21646","GHSA-j29m-p99g-7hpv","SUSE-SU-2024:0323-1","UBUNTU-CVE-2024-21646","openSUSE-SU-2024:13643-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Azure IoT AMQP library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via crafted binary data in the Azure uAMQP C library due to integer overflow and memory safety issues.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"azure_uamqp","vendor":"microsoft"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Azure uAMQP is a general purpose C library for AMQP 1.0. The UAMQP library is used by several clients to implement AMQP protocol communication.  When clients using this library receive a crafted binary type data, an integer overflow or wraparound or memory safety issue can occur and may cause remote code execution.  This vulnerability has been patched in release 2024-01-01.","ecosystems":["SUSE:Linux Enterprise Module for Public Cloud 15 SP2","SUSE:Linux Enterprise Module for Public Cloud 15 SP3","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","openSUSE:Leap 15.5"],"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":"Azure IoT Platform Device SDK Remote Code Execution Vulnerability","id":"CVE-2024-21646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":5,"n_references":2,"next":{"headline":"HTTP Request/Response Smuggling in puma","id":"CVE-2024-21647"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP2","fixed":["1.5.3-150100.4.10.1"],"introduced":["0"],"last_affected":[],"package":"python-uamqp","purl":"pkg:rpm/suse/python-uamqp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2","source":"SUSE-SU-2024:0323-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP3","fixed":["1.5.3-150100.4.10.1"],"introduced":["0"],"last_affected":[],"package":"python-uamqp","purl":"pkg:rpm/suse/python-uamqp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP3","source":"SUSE-SU-2024:0323-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["1.5.3-150100.4.10.1"],"introduced":["0"],"last_affected":[],"package":"python-uamqp","purl":"pkg:rpm/suse/python-uamqp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2024:0323-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP5","fixed":["1.5.3-150100.4.10.1"],"introduced":["0"],"last_affected":[],"package":"python-uamqp","purl":"pkg:rpm/suse/python-uamqp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5","source":"SUSE-SU-2024:0323-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.5.3-150100.4.10.1"],"introduced":["0"],"last_affected":[],"package":"python-uamqp","purl":"pkg:rpm/opensuse/python-uamqp\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:0323-1"}],"prev":{"headline":"pyLoad Log Injection","id":"CVE-2024-21645"},"products":["azure-uamqp-c"],"published":"2024-01-09","related":[{"cvss_score":9.8,"headline":"Azure IoT Platform Device SDK Double Free Vulnerability","id":"CVE-2024-27099","kev_date_added":null,"published":"2024-02-27"},{"cvss_score":9.8,"headline":"Azure IoT Platform Device SDK Remote Code Execution Vulnerability","id":"CVE-2024-25110","kev_date_added":null,"published":"2024-02-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-16","vendors":["Azure"]},"summary":"Remote attackers can execute arbitrary code via crafted binary data in the Azure uAMQP C library due to integer overflow and memory safety issues.","url":"https://insights.sbomify.com/CVE-2024-21646/"}