CVEvulnerability

CVE-2023-28321

5.9 MEDIUM Published 2023-05-26 Modified 2026-10-23 Official page ↗
Status
Modified
Published
2023-05-26
Last modified
2026-10-23
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-295

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

Affected configurations

• haxx curl (< 8.1.0) • debian debian linux 10.0 • fedoraproject fedora 37 • fedoraproject fedora 38 • netapp clustered data ontap • netapp ontap antivirus connector • netapp h300s firmware • netapp h500s firmware • netapp h700s firmware • netapp h410s firmware • apple macos (>= 11.0 < 11.7.9) • apple macos (>= 12.0 < 12.6.8) • apple macos (>= 13.0 < 13.5)

Related

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References