{"answers":{"affected":"It affects 9 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-32221 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2022-32221 is a critical use after free vulnerability in Apple Macos, published on 5 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-32221 and fix it if it is affected.\n\nWhat it is: CVE-2022-32221 is a critical use after free vulnerability in Apple Macos, published on 5 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-32221 exists.\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-2022-32221/ (Markdown: https://insights.sbomify.com/CVE-2022-32221/index.md)","id":"CVE-2022-32221","markdown":"https://insights.sbomify.com/CVE-2022-32221/index.md","name":"CVE-2022-32221","record":{"aliases":["ALPINE-CVE-2022-32221","ALSA-2023:0333","AZL-38548","CLEANSTART-2026-JF72424","CLSA-2022-1667515188","CLSA-2022-1671123782","CLSA-2022-1671123986","CLSA-2022-1671124217","CLSA-2022-1671126165","CURL-CVE-2022-32221","DEBIAN-CVE-2022-32221","ECHO-e9f0-a28c-f71c","GHSA-grfr-78m7-q35q","JLSEC-2026-396","MGASA-2022-0405","OESA-2022-2039","OESA-2022-2040","RHSA-2023:0333","RLSA-2023:0333","SUSE-SU-2022:3769-1","SUSE-SU-2022:3770-1","SUSE-SU-2022:3773-1","UBUNTU-CVE-2022-32221","USN-5702-2","openSUSE-SU-2024:12714-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"libcurl HTTP library","requires_auth":"none","summary":"A use-after-free flaw in libcurl allows attackers to cause memory corruption or information disclosure when reusing handles for POST requests after PUT.","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":"curl","vendor":"haxx"},{"product":"clustered_data_ontap","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"universal_forwarder","vendor":"splunk"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","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-668","name":"Exposure of Resource to Wrong Sphere"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously was used to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the subsequent `POST` request. The problem exists in the logic for a reused handle when it is changed from a PUT to a POST.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Rocky Linux:9","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","openSUSE:Leap 15.3","openSUSE:Leap Micro 5.2"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Use after free in https://github.com/curl/curl","id":"CVE-2022-32221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:macos","products":["apple:macos","debian:debian_linux","haxx:curl","netapp:clustered_data_ontap","netapp:h300s_firmware","netapp:h410s_firmware","netapp:h500s_firmware","netapp:h700s_firmware","splunk:universal_forwarder"],"type":"use_after_free","year":"2022"},"n_packages":40,"n_references":11,"next":{"headline":"Weak cryptography in Node","id":"CVE-2022-32222"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/almalinux/curl","source":"ALSA-2023:0333"},{"ecosystem":"AlmaLinux:9","fixed":["7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl-minimal","purl":"pkg:rpm/almalinux/curl-minimal","source":"ALSA-2023:0333"},{"ecosystem":"AlmaLinux:9","fixed":["7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl","purl":"pkg:rpm/almalinux/libcurl","source":"ALSA-2023:0333"},{"ecosystem":"AlmaLinux:9","fixed":["7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl-devel","purl":"pkg:rpm/almalinux/libcurl-devel","source":"ALSA-2023:0333"},{"ecosystem":"AlmaLinux:9","fixed":["7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl-minimal","purl":"pkg:rpm/almalinux/libcurl-minimal","source":"ALSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl-debuginfo","purl":"pkg:rpm/redhat/curl-debuginfo","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl-debugsource","purl":"pkg:rpm/redhat/curl-debugsource","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl-minimal-debuginfo","purl":"pkg:rpm/redhat/curl-minimal-debuginfo","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl-debuginfo","purl":"pkg:rpm/redhat/libcurl-debuginfo","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl-devel","purl":"pkg:rpm/redhat/libcurl-devel","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl-minimal-debuginfo","purl":"pkg:rpm/redhat/libcurl-minimal-debuginfo","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/redhat/curl","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl-debuginfo","purl":"pkg:rpm/redhat/curl-debuginfo","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl-debugsource","purl":"pkg:rpm/redhat/curl-debugsource","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl-minimal","purl":"pkg:rpm/redhat/curl-minimal","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl-minimal-debuginfo","purl":"pkg:rpm/redhat/curl-minimal-debuginfo","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl","purl":"pkg:rpm/redhat/libcurl","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl-debuginfo","purl":"pkg:rpm/redhat/libcurl-debuginfo","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl-minimal","purl":"pkg:rpm/redhat/libcurl-minimal","source":"RHSA-2023:0333"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"libcurl-minimal-debuginfo","purl":"pkg:rpm/redhat/libcurl-minimal-debuginfo","source":"RHSA-2023:0333"},{"ecosystem":"Rocky Linux:9","fixed":["0:7.76.1-19.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/rocky-linux/curl?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2023:0333"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["7.37.0-37.85.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2022:3770-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["7.37.0-37.85.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2022:3770-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["7.60.0-11.49.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:3769-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["7.60.0-11.49.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:3769-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["7.60.0-11.49.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2022:3769-1"},{"ecosystem":"SUSE:Manager Proxy 4.1","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Manager%20Proxy%204.1","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.1","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"SUSE:Manager Server 4.1","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Manager%20Server%204.1","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/opensuse/curl\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:3773-1"},{"ecosystem":"openSUSE:Leap Micro 5.2","fixed":["7.66.0-150200.4.42.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/opensuse/curl\u0026distro=openSUSE%20Leap%20Micro%205.2","source":"SUSE-SU-2022:3773-1"}],"prev":{"headline":"Information disclosure in Rocket.Chat","id":"CVE-2022-32220"},"products":["https://github.com/curl/curl"],"published":"2022-12-05","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":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"A use-after-free flaw in libcurl allows attackers to cause memory corruption or information disclosure when reusing handles for POST requests after PUT.","url":"https://insights.sbomify.com/CVE-2022-32221/"}