# CVE-2023-28321

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-05-26 · Modified: 2025-01-15
- Aliases: ALPINE-CVE-2023-28321, UBUNTU-CVE-2023-28321, DEBIAN-CVE-2023-28321, CGA-g888-hr66-w768
- Record: https://cvemate.com/vulnerability/CVE-2023-28321 · JSON: https://cvemate.com/vulnerability/CVE-2023-28321/json

## Description

```text
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`.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 1.806%, percentile 79.322%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine curl (Alpine Linux): \< 8.1.0-r0
- chainguard libcurl4 (Chainguard): All versions (No fix recorded)
- wolfi libcurl4 (Wolfi): All versions (No fix recorded)
- apple macos: ≥ 11.0, \< 11.7.9 \| ≥ 12.0, \< 12.6.8 \| ≥ 13.0, \< 13.5
- debian curl (Debian): \< 7.88.1-10
- ubuntu curl (Ubuntu): \< 7.35.0-1ubuntu2.20+esm16 \| \< 7.47.0-1ubuntu2.19+esm9 \| \< 7.58.0-2ubuntu3.24+esm1 \| \< 7.68.0-1ubuntu2.19 \| \< 7.81.0-1ubuntu1.11
- debian debian\_linux: 10.0
- fedoraproject fedora: 37 \| 38
- haxx curl: \< 8.1.0
- netapp clustered\_data\_ontap: na
- netapp h300s\_firmware: na
- netapp h410s\_firmware: na
- netapp h500s\_firmware: na
- netapp h700s\_firmware: na
- netapp ontap\_antivirus\_connector: na

## References

- <https://hackerone.com/reports/1950627>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4I75RDGX5ULSSCBE5BF3P5I5SFO7ULQ/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2LIWHWKOVH24COGGBCVOWDXXIUPKOMK/>
- <https://security.netapp.com/advisory/ntap-20230609-0009/>
- <https://support.apple.com/kb/HT213843>
- <https://support.apple.com/kb/HT213844>
- <https://support.apple.com/kb/HT213845>
- <http://seclists.org/fulldisclosure/2023/Jul/52>
- <http://seclists.org/fulldisclosure/2023/Jul/48>
- <http://seclists.org/fulldisclosure/2023/Jul/47>
- <https://security.gentoo.org/glsa/202310-12>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00016.html>
- <https://security.alpinelinux.org/vuln/CVE-2023-28321>
- <https://ubuntu.com/security/CVE-2023-28321>
- <https://curl.se/docs/CVE-2023-28321.html>
- <https://ubuntu.com/security/notices/USN-6237-1>
- <https://ubuntu.com/security/notices/USN-6237-3>
- <https://www.cve.org/CVERecord?id=CVE-2023-28321>
- <https://security-tracker.debian.org/tracker/CVE-2023-28321>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28321>

---

Data as of 2026-12-05T06:50:53.819Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
