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`.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
hackeroneCNA
---
---
CVEADP
---
---
CISA-ADPADP
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 51%
VendorProductVersion
haxxcurl
𝑥
< 8.1.0
debiandebian_linux
10.0
netappclustered_data_ontap
-
netappontap_antivirus_connector
-
netapph300s_firmware
-
netapph500s_firmware
-
netapph700s_firmware
-
netapph410s_firmware
-
applemacos
11.0 ≤
𝑥
< 11.7.9
applemacos
12.0 ≤
𝑥
< 12.6.8
applemacos
13.0 ≤
𝑥
< 13.5
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
curl
bullseye
7.74.0-1.3+deb11u13
fixed
bullseye (security)
7.74.0-1.3+deb11u14
fixed
bookworm
7.88.1-10+deb12u8
fixed
bookworm (security)
7.88.1-10+deb12u5
fixed
trixie
8.11.1-1
fixed
sid
8.11.1-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
curl
oracular
Fixed 7.88.1-10ubuntu1
released
noble
Fixed 7.88.1-10ubuntu1
released
mantic
Fixed 7.88.1-10ubuntu1
released
lunar
Fixed 7.88.1-8ubuntu2.1
released
kinetic
Fixed 7.85.0-1ubuntu0.6
released
jammy
Fixed 7.81.0-1ubuntu1.11
released
focal
Fixed 7.68.0-1ubuntu2.19
released
bionic
Fixed 7.58.0-2ubuntu3.24+esm1
released
xenial
Fixed 7.47.0-1ubuntu2.19+esm9
released
trusty
Fixed 7.35.0-1ubuntu2.20+esm16
released