PT-2023-3462

CVE-2023-28321

·

Published

2023-05-17

·

Updated

2026-09-18

Description by

CVSS 3.1
5.9
Medium
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions curl versions prior to 8.1.0
Description The issue is related to improper certificate validation in the way curl supports matching of wildcard patterns when listed as "Subject Alternative Name" in TLS server certificates. This could lead to incorrect matching of IDN hosts and potentially allow patterns that should mismatch. IDN hostnames are converted to puny code before being used for certificate checks, but the wildcard check in curl could still incorrectly match patterns. This could result in a remote attacker being able to perform a "man-in-the-middle" attack.
Recommendations For versions prior to 8.1.0, update to version 8.1.0 or later to resolve the issue. As a temporary workaround, consider disabling the use of wildcard patterns in TLS server certificates until a patch is available. Restrict access to IDN hostnames to minimize the risk of exploitation. Avoid using the xn-- prefix in wildcard patterns to prevent incorrect matching.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALSA-2023:4354
ALSA-2023:4523
ALT-PU-2023-1827
ALT-PU-2023-1863
ALT-PU-2023-4357
ALT-PU-2023-5727
AZL-26794
AZL-26808
AZL-26812
AZL-38032
CESA-2023_4523
CLEANSTART-2026-AH03908
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
DLA-3613-1
MGASA-2023-0263
OESA-2023-1346
OPENSUSE-SU-2024:12940-1
RHSA-2023:4354
RHSA-2023_4354
RHSA-2023:4523
RHSA-2023_4523
RHSA-2023:4629
RHSA-2023:5598
RHSA-2023:6292
RLSA-2023:4523
SUSE-SU-2023:2224-1
SUSE-SU-2023:2224-2
SUSE-SU-2023:2225-1
SUSE-SU-2023:2226-1
SUSE-SU-2023:2227-1
SUSE-SU-2023:2228-1
SUSE-SU-2023:2230-1
USN-6237-1
USN-6237-2
USN-6237-3
Found an issue in the description? Have something to add? Feel free to write us 👾