Vulnerability in Apple macOS
CVE-2023-28321
An improper certificate validation vulnerability exists in curl <v8.1.0 in the way it supports matching of wildcard patterns when listed as "Subject Alternative Name" in TLS server certificates. curl can be built to use its own name matching function for TLS rather than one provided by a TLS library. This private wildcard matching function would match IDN (International Domain Name) hosts incorrectly and could as a result accept patterns that otherwise should mismatch. IDN hostnames are converted to puny code before used for certificate checks. Puny coded names always start with `xn--` and should not be allowed to pattern match, but the wildcard check in curl could still check for `x*`, which would match even though the IDN name most likely contained nothing even resembling an `x`.
Vulnerability class: Improper Certificate Validation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.018, 78.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (awest25/Curl-Security-Evaluation, fkie-cad/nvd-json-data-feeds, fokypoky/places-list, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/1950627 (Exploit, Patch, Third Party Advisory)
- FEDORA-2023-37eac50e9b (vendor-advisory)
- FEDORA-2023-8ed627bb04 (vendor-advisory)
- security.netapp.com/advisory/ntap-20230609-0009/ (Third Party Advisory)
- support.apple.com/kb/HT213843 (Third Party Advisory)
- support.apple.com/kb/HT213844 (Third Party Advisory)
- support.apple.com/kb/HT213845 (Third Party Advisory)
- 20230725 APPLE-SA-2023-07-24-6 macOS Big Sur 11.7.9 (mailing-list, Mailing List, Third Party Advisory)
- 20230725 APPLE-SA-2023-07-24-5 macOS Monterey 12.6.8 (mailing-list, Mailing List, Third Party Advisory)
- 20230725 APPLE-SA-2023-07-24-4 macOS Ventura 13.5 (mailing-list, Mailing List, Third Party Advisory)