CVE-2023-28321Haxx Curl
Medium 5.9 No auth needed
Follow: this CVE · Haxx · Haxx Curl We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- May 26, 2023
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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`.
What to do
- Apply the vendor's security update for Curl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| haxx | curl | < 8.1.0 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
| netapp | clustered_data_ontap | all |
| netapp | ontap_antivirus_connector | all |
| netapp | h300s_firmware | all |
| netapp | h500s_firmware | all |
| netapp | h700s_firmware | all |
| netapp | h410s_firmware | all |
| apple | macos | ≥ 11.0 < 11.7.9 |
| apple | macos | ≥ 12.0 < 12.6.8 |
| apple | macos | ≥ 13.0 < 13.5 |
Official sources
References
Links published by the sources. Open them with care.
- seclists.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- hackerone.com Exploit Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory