cve.bz

CVE-2023-28321 Improper Certificate Validation

5.9 mediumExploit referenceEPSS 1.8%Fix available

Medium (5.9). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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`.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-01-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28321 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28321?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28321?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28321 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-28321

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-28321](https://cve.bz/cve/badge/CVE-2023-28321.svg)](https://cve.bz/cve/CVE-2023-28321)

HTML:

<a href="https://cve.bz/cve/CVE-2023-28321"><img src="https://cve.bz/cve/badge/CVE-2023-28321.svg" alt="CVE-2023-28321"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:curlbefore 8.1.0
debian:debian_linux10.0
fedoraproject:fedora37
fedoraproject:fedora38
apple:macosfrom 11.0 before 11.7.9
apple:macosfrom 12.0 before 12.6.8
apple:macosfrom 13.0 before 13.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10curl7.64.0-4+deb10u7DLA-3613-1
Debian12, 13, 14curl7.88.1-10DEBIAN-CVE-2023-28321
Ubuntu20.04:LTScurl7.68.0-1ubuntu2.19UBUNTU-CVE-2023-28321 USN-6237-1
Ubuntu22.04:LTScurl7.81.0-1ubuntu1.11UBUNTU-CVE-2023-28321 USN-6237-1
UbuntuPro:14.04:LTScurl7.35.0-1ubuntu2.20+esm16UBUNTU-CVE-2023-28321 USN-6237-3
UbuntuPro:16.04:LTScurl7.47.0-1ubuntu2.19+esm9UBUNTU-CVE-2023-28321 USN-6237-3
UbuntuPro:18.04:LTScurl7.58.0-2ubuntu3.24+esm1UBUNTU-CVE-2023-28321 USN-6237-3
Red Hatenterprise_linux:8::baseoscurl, libcurl, libcurl-devel and 6 more0:7.61.1-30.el8_8.3RHSA-2023:4523
Red Hatenterprise_linux:9::appstreamlibcurl-devel, curl-debuginfo, curl-debugsource and 3 more0:7.76.1-23.el9_2.2RHSA-2023:4354
Red Hatenterprise_linux:9::baseoscurl, libcurl, curl-minimal and 6 more0:7.76.1-23.el9_2.2RHSA-2023:4354
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.7.0-8.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:8.2.1-1.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.57-5.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.3-29.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.57-5.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.7.0-8.el8jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:8.2.1-1.el8jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.57-5.el8jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.3-29.el8jbcsRHSA-2023:4629
4 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS and 1 morecurl7.60.0-150000.51.1SUSE-SU-2023:2226-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 morecurl7.66.0-150200.4.57.1SUSE-SU-2023:2227-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4curl8.0.1-150400.5.23.1SUSE-SU-2023:2224-1
SUSELinux Enterprise Server 12 SP2-BCLcurl7.37.0-37.98.1SUSE-SU-2023:2230-1
SUSELinux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4 and 2 morecurl7.60.0-4.56.1SUSE-SU-2023:2228-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5curl8.0.1-11.65.2SUSE-SU-2023:2225-1
openSUSELeap 15.4, Leap Micro 5.3curl8.0.1-150400.5.23.1SUSE-SU-2023:2224-1
openSUSELeap 15.5curl8.0.1-150400.5.23.1SUSE-SU-2023:2224-2
openSUSETumbleweedcurl8.1.0-1.1openSUSE-SU-2024:12940-1
AlmaLinux8curl, libcurl, libcurl-devel and 1 more7.61.1-30.el8_8.3ALSA-2023:4523
AlmaLinux9curl, libcurl, curl-minimal and 2 more7.76.1-23.el9_2.2ALSA-2023:4354
Rocky Linux8curl0:7.61.1-30.el8_8.3RLSA-2023:4523
Alpinev3.15, v3.16, v3.17 and 7 morecurl8.1.0-r0ALPINE-CVE-2023-28321
Azure Linux2curl8.2.1-1AZL-26794
Azure Linux2mysql8.0.34-1AZL-26808
Azure Linux2rust1.72.0-2AZL-26812
Azure Linux3tensorflow2.16.1-1AZL-38032

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-curl-0:8.2.1-1.el8jbcsFixed 2023-08-15RHSA-2023:4629
JBoss Core Services on RHEL 7jbcs-httpd24-curl-0:8.2.1-1.el7jbcsFixed 2023-08-15RHSA-2023:4629
Red Hat Enterprise Linux 8curl-0:7.61.1-30.el8_8.3Fixed 2023-08-08RHSA-2023:4523
Red Hat Enterprise Linux 8.6 Extended Update Supportcurl-0:7.61.1-22.el8_6.9Fixed 2023-11-02RHSA-2023:6292
Red Hat Enterprise Linux 9curl-0:7.76.1-23.el9_2.2Fixed 2023-08-01RHSA-2023:4354
Red Hat Enterprise Linux 9.0 Extended Update Supportcurl-0:7.76.1-14.el9_0.7Fixed 2023-10-10RHSA-2023:5598
Red Hat JBoss Core Services 2.4.57jbcs-httpd24-curlFixed 2023-08-15RHSA-2023:4628
.NET Core 3.1 on Red Hat Enterprise Linuxrh-dotnet31-curlOut of support scope
Red Hat Enterprise Linux 6curlOut of support scope
Red Hat Enterprise Linux 7curlWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28321.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON