First published: Wed May 10 2023(Updated: )
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`.
Credit: CVE-2023-28319 CVE-2023-28320 CVE-2023-28321 CVE-2023-28322 CVE-2023-28319 CVE-2023-28320 CVE-2023-28321 CVE-2023-28322 CVE-2023-28319 CVE-2023-28320 CVE-2023-28321 CVE-2023-28322 support@hackerone.com support@hackerone.com support@hackerone.com
Affected Software | Affected Version | How to fix |
---|---|---|
Haxx Curl | <8.1.0 | |
ubuntu/curl | <8.1.0 | 8.1.0 |
ubuntu/curl | <7.68.0-1ubuntu2.19 | 7.68.0-1ubuntu2.19 |
ubuntu/curl | <7.81.0-1ubuntu1.11 | 7.81.0-1ubuntu1.11 |
ubuntu/curl | <7.85.0-1ubuntu0.6 | 7.85.0-1ubuntu0.6 |
ubuntu/curl | <7.88.1-8ubuntu2.1 | 7.88.1-8ubuntu2.1 |
ubuntu/curl | <7.58.0-2ubuntu3.24+ | 7.58.0-2ubuntu3.24+ |
ubuntu/curl | <7.35.0-1ubuntu2.20+ | 7.35.0-1ubuntu2.20+ |
ubuntu/curl | <7.47.0-1ubuntu2.19+ | 7.47.0-1ubuntu2.19+ |
ubuntu/curl | <7.88.1-10ubuntu1 | 7.88.1-10ubuntu1 |
Apple macOS Ventura | <13.5 | 13.5 |
Apple macOS Big Sur | <11.7.9 | 11.7.9 |
Apple macOS Monterey | <12.6.8 | 12.6.8 |
redhat/curl | <8.1.0 | 8.1.0 |
debian/curl | <=7.64.0-4+deb10u2 | 7.64.0-4+deb10u8 7.74.0-1.3+deb11u11 7.88.1-10+deb12u5 8.5.0-2 8.6.0-2 |
Debian Debian Linux | =10.0 | |
Fedoraproject Fedora | =37 | |
Fedoraproject Fedora | =38 | |
NetApp Clustered Data ONTAP | ||
Netapp Ontap Antivirus Connector | ||
Netapp H300s Firmware | ||
Netapp H300s | ||
Netapp H500s Firmware | ||
Netapp H500s | ||
Netapp H700s Firmware | ||
Netapp H700s | ||
Netapp H410s Firmware | ||
Netapp H410s | ||
Apple macOS | >=11.0<11.7.9 | |
Apple macOS | >=12.0<12.6.8 | |
Apple macOS | >=13.0<13.5 | |
All of | ||
Netapp H300s Firmware | ||
Netapp H300s | ||
All of | ||
Netapp H500s Firmware | ||
Netapp H500s | ||
All of | ||
Netapp H700s Firmware | ||
Netapp H700s | ||
All of | ||
Netapp H410s Firmware | ||
Netapp H410s | ||
IBM Storage Protect for Virtual Environments: Data Protection for VMware | <=8.1.0.0 - 8.1.22.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
(Found alongside the following vulnerabilities)
CVE-2023-28321 is an improper certificate validation vulnerability in curl.
Versions of curl prior to 8.1.0 are affected by CVE-2023-28321.
CVE-2023-28321 has a high severity with a CVSS score of 7.
To fix CVE-2023-28321, update to curl version 8.1.0 or later.
You can find more information about CVE-2023-28321 at the following references: <ul><li><a href="https://hackerone.com/reports/1950627">HackerOne Report</a></li><li><a href="https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F4I75RDGX5ULSSCBE5BF3P5I5SFO7ULQ/">Fedora Security Announcement 1</a></li><li><a href="https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z2LIWHWKOVH24COGGBCVOWDXXIUPKOMK/">Fedora Security Announcement 2</a></li></ul>