{"answers":{"affected":"It affects 17 products.","exploited":"There is no known exploitation of CVE-2021-22945 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-22945 is a critical use after free vulnerability in Apple Macos, published on 23 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-22945 and fix it if it is affected.\n\nWhat it is: CVE-2021-22945 is a critical use after free vulnerability in Apple Macos, published on 23 Sep 2021. 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-2021-22945 in the wild and no public exploit code.\n\nAffected product: Apple Macos. 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-2021-22945/ (Markdown: https://insights.sbomify.com/CVE-2021-22945/index.md)","id":"CVE-2021-22945","markdown":"https://insights.sbomify.com/CVE-2021-22945/index.md","name":"CVE-2021-22945","record":{"aliases":["ALPINE-CVE-2021-22945","AZL-6368","CLEANSTART-2026-YT27832","CURL-CVE-2021-22945","DEBIAN-CVE-2021-22945","GHSA-22mx-9r92-42g8","JLSEC-2025-29","UBUNTU-CVE-2021-22945"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libcurl library","requires_auth":"none","summary":"A use-after-free flaw in libcurl's MQTT implementation allows attackers to cause crashes or potentially execute arbitrary code.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"macos","vendor":"apple"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"libcurl","vendor":"haxx"},{"product":"cloud_backup","vendor":"netapp"},{"product":"clustered_data_ontap","vendor":"netapp"},{"product":"h300e_firmware","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500e_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h700e_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"solidfire_baseboard_management_controller_firmware","vendor":"netapp"},{"product":"mysql_server","vendor":"oracle"},{"product":"sinec_ins","vendor":"siemens"},{"product":"universal_forwarder","vendor":"splunk"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"description":"When sending data to an MQTT server, libcurl \u003c= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it *again*.","ecosystems":[],"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":"Use after free in https://github.com/curl/curl","id":"CVE-2021-22945","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:macos","products":["apple:macos","debian:debian_linux","fedoraproject:fedora","haxx:libcurl","netapp:cloud_backup","netapp:clustered_data_ontap","netapp:h300e_firmware","netapp:h300s_firmware","netapp:h410s_firmware","netapp:h500e_firmware","netapp:h500s_firmware","netapp:h700e_firmware","netapp:h700s_firmware","netapp:solidfire_baseboard_management_controller_firmware","oracle:mysql_server","splunk:universal_forwarder"],"type":"use_after_free","year":"2021"},"n_packages":0,"n_references":10,"next":{"headline":"Security feature bypass in https://github.com/curl/curl","id":"CVE-2021-22946"},"packages":[],"prev":{"headline":"A vulnerability found in UniFi Protect application V1.18.1 and earlier allows a malicious actor with a view-only role and network access to","id":"CVE-2021-22944"},"products":["https://github.com/curl/curl"],"published":"2021-09-23","related":[{"cvss_score":9.8,"headline":"Apple macOS Improper Authentication","id":"CVE-2026-65400","kev_date_added":"2026-08-18","published":"2026-08-06"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2024-44146","kev_date_added":null,"published":"2024-09-16"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2024-44148","kev_date_added":null,"published":"2024-09-16"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2023-38586","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2023-40455","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-1999-0590","kev_date_added":null,"published":"2000-02-04"},{"cvss_score":9.8,"headline":"Memory corruption in macOS","id":"CVE-2026-84520","kev_date_added":null,"published":"2026-09-14"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"A use-after-free flaw in libcurl's MQTT implementation allows attackers to cause crashes or potentially execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2021-22945/"}