{"answers":{"affected":"It affects 26 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-22947 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2021-22947 is a medium-severity vulnerability in Apple Macos, published on 29 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-22947 and fix it if it is affected.\n\nWhat it is: CVE-2021-22947 is a medium-severity vulnerability in Apple Macos, published on 29 Sep 2021. 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-2021-22947 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-2021-22947/ (Markdown: https://insights.sbomify.com/CVE-2021-22947/index.md)","id":"CVE-2021-22947","markdown":"https://insights.sbomify.com/CVE-2021-22947/index.md","name":"CVE-2021-22947","record":{"aliases":["ALPINE-CVE-2021-22947","AZL-6366","CLEANSTART-2026-NW23865","CURL-CVE-2021-22947","DEBIAN-CVE-2021-22947","GHSA-94jh-wwgf-cmmc","JLSEC-2026-1340","UBUNTU-CVE-2021-22947","USN-5079-4"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"curl library","requires_auth":"none","summary":"A Man-In-The-Middle attacker can inject fake IMAP/POP3 responses before TLS handshake, tricking curl into trusting unauthenticated data.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"macos","vendor":"apple"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"curl","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":"commerce_guided_search","vendor":"oracle"},{"product":"communications_cloud_native_core_binding_support_function","vendor":"oracle"},{"product":"communications_cloud_native_core_console","vendor":"oracle"},{"product":"communications_cloud_native_core_network_function_cloud_native_environment","vendor":"oracle"},{"product":"communications_cloud_native_core_network_repository_function","vendor":"oracle"},{"product":"communications_cloud_native_core_network_slice_selection_function","vendor":"oracle"},{"product":"communications_cloud_native_core_security_edge_protection_proxy","vendor":"oracle"},{"product":"communications_cloud_native_core_service_communication_proxy","vendor":"oracle"},{"product":"mysql_server","vendor":"oracle"},{"product":"peoplesoft_enterprise_peopletools","vendor":"oracle"},{"product":"sinec_infrastructure_network_services","vendor":"siemens"},{"product":"universal_forwarder","vendor":"splunk"}],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-310","name":null}],"description":"When curl \u003e= 7.20.0 and \u003c= 7.78.0 connects to an IMAP or POP3 server to retrieve data using STARTTLS to upgrade to TLS security, the server can respond and send back multiple responses at once that curl caches. curl would then upgrade to TLS but not flush the in-queue of cached responses but instead continue using and trustingthe responses it got *before* the TLS handshake as if they were authenticated.Using this flaw, it allows a Man-In-The-Middle attacker to first inject the fake responses, then pass-through the TLS traffic from the legitimate server and trick curl into sending data back to the user thinking the attacker's injected data comes from the TLS-protected server.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Security feature bypass in https://github.com/curl/curl","id":"CVE-2021-22947","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:macos","products":["apple:macos","debian:debian_linux","fedoraproject:fedora","haxx:curl","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:commerce_guided_search","oracle:communications_cloud_native_core_binding_support_function","oracle:mysql_server","oracle:peoplesoft_enterprise_peopletools","siemens:sinec_infrastructure_network_services","splunk:universal_forwarder"],"type":"security_feature_bypass","year":"2021"},"n_packages":0,"n_references":15,"next":{"headline":"Weak cryptography in https://github.com/revive-adserver/revive-adserver","id":"CVE-2021-22948"},"packages":[],"prev":{"headline":"Security feature bypass in https://github.com/curl/curl","id":"CVE-2021-22946"},"products":["https://github.com/curl/curl"],"published":"2021-09-29","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"A Man-In-The-Middle attacker can inject fake IMAP/POP3 responses before TLS handshake, tricking curl into trusting unauthenticated data.","url":"https://insights.sbomify.com/CVE-2021-22947/"}