CVE-2023-28321CWE-295

CVE-2023-28321

Medium · published May 27, 2023

CVSS v3.1
5.9
EPSS
2%
Percentile
78.4
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01806 · 78.4th percentile
Weakness
CWE-295 · Improper Certificate Validation
Published
2023-05-27T01:15Z
Affected products (13)
ProductVersionsFixed in
haxx/curl< 8.1.08.1.0
debian/debian_linuxall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
netapp/clustered_data_ontapall versions—
netapp/ontap_antivirus_connectorall versions—
netapp/h300s_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700s_firmwareall versions—
netapp/h410s_firmwareall versions—
apple/macos≥ 11.0, < 11.7.911.7.9
apple/macos≥ 12.0, < 12.6.812.6.8
apple/macos≥ 13.0, < 13.513.5
References (24)
http://seclists.org/fulldisclosure/2023/Jul/47 · [email protected]http://seclists.org/fulldisclosure/2023/Jul/48 · [email protected]http://seclists.org/fulldisclosure/2023/Jul/52 · [email protected]https://hackerone.com/reports/1950627 · [email protected]https://lists.debian.org/debian-lts-announce/2023/10/msg00016.html · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4I75RDGX5ULSSCBE5BF3P5I5SFO7ULQ/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2LIWHWKOVH24COGGBCVOWDXXIUPKOMK/ · [email protected]https://security.gentoo.org/glsa/202310-12 · [email protected]https://security.netapp.com/advisory/ntap-20230609-0009/ · [email protected]https://support.apple.com/kb/HT213843 · [email protected]https://support.apple.com/kb/HT213844 · [email protected]https://support.apple.com/kb/HT213845 · [email protected]http://seclists.org/fulldisclosure/2023/Jul/47 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2023/Jul/48 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2023/Jul/52 · af854a3a-2127-422b-91ae-364da2661108https://hackerone.com/reports/1950627 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2023/10/msg00016.html · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4I75RDGX5ULSSCBE5BF3P5I5SFO7ULQ/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2LIWHWKOVH24COGGBCVOWDXXIUPKOMK/ · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202310-12 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20230609-0009/ · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213843 · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213844 · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213845 · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 26 MAY 00:00Z
    An improper certificate validation vulnerability exists in curl <v8.1.0 in the way it supports matching of wildcard patterns when listed as "Subject…
    cvelistv5