CVE-2023-28321
published medium CVSS 3.1 · 5.9curl: IDN wildcard match may lead to Improper Cerificate Validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/curl/curlFixed in 8.1.0 | Affected | Not stated | hackerone |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2230 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-270 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | curl | Advisory build | 7.61.1-30.el8_8.3 | ALSA-2023:4523 |
| Alpine Linux | edge | curl | Fixed | 8.1.0-r0 | Package fix record |
| Debian | buster | curl | Advisory build | 7.64.0-4+deb10u7 | DLA-3613-1 |
| Oracle Linux | 8 | curlaarch64 | Advisory build | 0:7.61.1-30.el8_8.3 | ELSA-2023-4523 |
| Red Hat Enterprise Linux | RHEL-8 | curlaarch64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | libcurl | Advisory build | 7.61.1-30.el8_8.3 | ALSA-2023:4523 |
| AlmaLinux | 8 | libcurl-devel | Advisory build | 7.61.1-30.el8_8.3 | ALSA-2023:4523 |
| AlmaLinux | 8 | libcurl-minimal | Advisory build | 7.61.1-30.el8_8.3 | ALSA-2023:4523 |
| AlmaLinux | 9 | curl | Advisory build | 7.76.1-23.el9_2.2 | ALSA-2023:4354 |
| AlmaLinux | 9 | curl-minimal | Advisory build | 7.76.1-23.el9_2.2 | ALSA-2023:4354 |
| AlmaLinux | 9 | libcurl | Advisory build | 7.76.1-23.el9_2.2 | ALSA-2023:4354 |
| AlmaLinux | 9 | libcurl-devel | Advisory build | 7.76.1-23.el9_2.2 | ALSA-2023:4354 |
| AlmaLinux | 9 | libcurl-minimal | Advisory build | 7.76.1-23.el9_2.2 | ALSA-2023:4354 |
| Alpine Linux | v3.15 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.16 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.17 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.18 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.19 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.20 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.21 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.22 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.23 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Alpine Linux | v3.24 | curl | Fixed | 8.1.0-r0 | Package fix record |
| Oracle Linux | 8 | curlx86_64 | Advisory build | 0:7.61.1-30.el8_8.3 | ELSA-2023-4523 |
| Oracle Linux | 8 | libcurlaarch64 | Advisory build | 0:7.61.1-30.el8_8.3 | ELSA-2023-4523 |
| Oracle Linux | 8 | libcurlx86_64 | Advisory build | 0:7.61.1-30.el8_8.3 | ELSA-2023-4523 |
| Oracle Linux | 8 | libcurl-develaarch64 | Advisory build | 0:7.61.1-30.el8_8.3 | ELSA-2023-4523 |
| Oracle Linux | 8 | libcurl-develx86_64 | Advisory build | 0:7.61.1-30.el8_8.3 | ELSA-2023-4523 |
| Oracle Linux | 8 | libcurl-minimalaarch64 | Advisory build | 0:7.61.1-30.el8_8.3 | ELSA-2023-4523 |
| Oracle Linux | 8 | libcurl-minimalx86_64 | Advisory build | 0:7.61.1-30.el8_8.3 | ELSA-2023-4523 |
| Oracle Linux | 9 | curlaarch64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | curlx86_64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | curl-minimalaarch64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | curl-minimalx86_64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | libcurlaarch64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | libcurlx86_64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | libcurl-develaarch64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | libcurl-develx86_64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | libcurl-minimalaarch64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Oracle Linux | 9 | libcurl-minimalx86_64 | Advisory build | 0:7.76.1-23.el9_2.2 | ELSA-2023-4354 |
| Red Hat Enterprise Linux | RHEL-8 | curlaarch64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curlppc64le | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curlppc64le | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curls390x | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curls390x | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curlsrc | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curlsrc | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curlx86_64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curlx86_64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoaarch64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoaarch64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoi686 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoi686 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoppc64le | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoppc64le | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfos390x | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfos390x | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfox86_64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfox86_64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceaarch64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceaarch64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcei686 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcei686 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceppc64le | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceppc64le | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsources390x | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsources390x | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcex86_64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcex86_64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoaarch64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoaarch64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoi686 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoi686 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoppc64le | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoppc64le | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfos390x | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfos390x | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfox86_64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfox86_64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlaarch64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlaarch64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurli686 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurli686 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlppc64le | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlppc64le | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurls390x | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurls390x | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlx86_64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlx86_64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoaarch64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoaarch64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoi686 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoi686 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoppc64le | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoppc64le | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfos390x | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfos390x | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfox86_64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfox86_64 | Advisory build | 7.61.1-30.el8_8.3 | RHSA-2023:4523 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develaarch64 | Advisory build | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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`.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/curl/curl | Fixed in 8.1.0 (affected) | hackerone · cna |
Weaknesses
1- CWE-295 Improper Certificate Validation (CWE-295)
References
12- 20230725 APPLE-SA-2023-07-24-4 macOS Ventura 13.5 http://seclists.org/fulldisclosure/2023/Jul/47
- 20230725 APPLE-SA-2023-07-24-5 macOS Monterey 12.6.8 http://seclists.org/fulldisclosure/2023/Jul/48
- 20230725 APPLE-SA-2023-07-24-6 macOS Big Sur 11.7.9 http://seclists.org/fulldisclosure/2023/Jul/52
- https://hackerone.com/reports/1950627
- [debian-lts-announce] 20231011 [SECURITY] [DLA 3613-1] curl security update https://lists.debian.org/debian-lts-announce/2023/10/msg00016.html
- FEDORA-2023-37eac50e9b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4I75RDGX5ULSSCBE5BF3P5I5SFO7ULQ/
- FEDORA-2023-8ed627bb04 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2LIWHWKOVH24COGGBCVOWDXXIUPKOMK/
- GLSA-202310-12 https://security.gentoo.org/glsa/202310-12
- 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
Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c56a73800118329dd4deb1a96b5be02379b506f07ee1d6125734f378cb154ab2
- Ingested
- 23 Sep 2026, 08:07:35 UTC
- Source record
- Official CVE record