Information Disclosure in Apple macOS (CVE-2022-32221)
Summary
Vulnerability in Apple macOS (CVE-2022-32221). Successful exploitation can lead to full system takeover. Exploitable via CURLOPT_READFUNCTION.
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2022-32221 has been found in Apple macOS.
Attackers can target a specific entry point like CURLOPT_READFUNCTION over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 9.8/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Apple macOS CVE-2022-32221" on the vendor's site.
CVE-2022-32221 (Apple macOS) — CWE-200 / CVSS v3 9.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: CURLOPT_READFUNCTION / CURLOPT_POSTFIELDS / PUT / POST
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Information disclosure (CWE-200) exists in Apple macOS. Attackers reach the vulnerable code path via CURLOPT_READFUNCTION without authentication.
Check the vendor advisory for the affected versions of Apple macOS. Attack surface: CURLOPT_READFUNCTION / CURLOPT_POSTFIELDS / PUT / POST.
Severity: Critical (CVSS 9.8/10). Successful exploitation can lead to full system takeover.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'macOS' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'macOS' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
macOSを grep し、稼働しているサービス・バージョンを把握する。 -
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2022-32221 curl Fixed in: 7.80.0-r4
- Debian DEBIAN-CVE-2022-32221 curl Fixed in: 7.74.0-1.3+deb11u5
References
- advisory security.gentoo.org
- advisory support.apple.com
- advisory support.apple.com
- advisory seclists.org
- advisory seclists.org
- advisory lists.debian.org
- advisory debian.org
- advisory security.netapp.com
- advisory security.netapp.com
- exploit hackerone.com
- mailing openwall.com
- web nvd.nist.gov
- web security.netapp.com
- web security.netapp.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web github.com