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…
Noroxi assessment
Priority: Monitor (action score 24/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.8% (FIRST EPSS); higher than 78.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: azl3 tensorflow 2.11.1-1 on Azure Linux 3.0 2.16.1-1; azl3 tensorflow 2.16.1-1 on Azure Linux 3.0 2.16.1-1; cbl2 curl 8.2.1-1 on CBL Mariner 2.0 8.2.1-1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to azl3 tensorflow 2.11.1-1 on Azure Linux 3.0 2.16.1-1; azl3 tensorflow 2.16.1-1 on Azure Linux 3.0 2.16.1-1; cbl2 curl 8.2.1-1 on CBL Mariner 2.0 8.2.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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`.
- BDU:2023-03648
- ALSA-2023:4354
- ALSA-2023:4523
- DLA-3613-1
- openSUSE-SU-2024:12940-1
- RHSA-2023:4354
- 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
- Published
- May 26, 2023
- Updated
- Oct 23, 2026
- EPSS
- 1.8% · 78th percentile
- CWE
- CWE-295
Report tools
Action score
24
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.8%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.9
- CNA · hackerone
- 5.9
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Check your site's encryptionRun the SSL check
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| haxx | curl | cpe:2.3:a:haxx:curl |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| netapp | clustered data ontap | cpe:2.3:a:netapp:clustered_data_ontap |
| netapp | ontap antivirus connector | cpe:2.3:a:netapp:ontap_antivirus_connector |
| netapp | h300s firmware | cpe:2.3:o:netapp:h300s_firmware |
| netapp | h300s | cpe:2.3:h:netapp:h300s |
| netapp | h500s firmware | cpe:2.3:o:netapp:h500s_firmware |
| netapp | h500s | cpe:2.3:h:netapp:h500s |
| netapp | h700s firmware | cpe:2.3:o:netapp:h700s_firmware |
| netapp | h700s | cpe:2.3:h:netapp:h700s |
| netapp | h410s firmware | cpe:2.3:o:netapp:h410s_firmware |
and 2 more
Check your site's encryption
This vulnerability is about certificate validation or weak cryptography. The free SSL checker tests your certificate, enabled TLS versions and weak ciphers.
Run the SSL checkVersions reported by the vendor
Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.
n/a https://github.com/curl/curl
- Fixed in 8.1.0affected
Affected versions · NVD (13)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple macos11.0 and later · before 11.7.9
- apple macos13.0 and later · before 13.5
- apple macos12.0 and later · before 12.6.8
- debian debian linux10.0
- fedoraproject fedora37
- fedoraproject fedora38
- haxx curlbefore 8.1.0
- netapp clustered data ontapall versions
- netapp h300s firmwareall versions
- netapp h410s firmwareall versions
- netapp h500s firmwareall versions
- netapp h700s firmwareall versions
- netapp ontap antivirus connectorall versions
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | curl | before 7.61.1-30.el8_8.3 | 7.61.1-30.el8_8.3 |
| AlmaLinux:8 | libcurl | before 7.61.1-30.el8_8.3 | 7.61.1-30.el8_8.3 |
| AlmaLinux:8 | libcurl-devel | before 7.61.1-30.el8_8.3 | 7.61.1-30.el8_8.3 |
| AlmaLinux:8 | libcurl-minimal | before 7.61.1-30.el8_8.3 | 7.61.1-30.el8_8.3 |
| AlmaLinux:9 | curl | before 7.76.1-23.el9_2.2 | 7.76.1-23.el9_2.2 |
| AlmaLinux:9 | curl-minimal | before 7.76.1-23.el9_2.2 | 7.76.1-23.el9_2.2 |
| AlmaLinux:9 | libcurl | before 7.76.1-23.el9_2.2 | 7.76.1-23.el9_2.2 |
| AlmaLinux:9 | libcurl-devel | before 7.76.1-23.el9_2.2 | 7.76.1-23.el9_2.2 |
| AlmaLinux:9 | libcurl-minimal | before 7.76.1-23.el9_2.2 | 7.76.1-23.el9_2.2 |
| Alpine:v3.15 | curl | before 8.1.0-r0 | 8.1.0-r0 |
| Debian:10 | curl | before 7.64.0-4+deb10u7 | 7.64.0-4+deb10u7 |
| Debian:12 | curl | before 7.88.1-10 | 7.88.1-10 |
| openSUSE:Leap Micro 5.3 | curl | before 8.0.1-150400.5.23.1 | 8.0.1-150400.5.23.1 |
| openSUSE:Tumbleweed | curl | before 8.1.0-1.1 | 8.1.0-1.1 |
| Red Hat:enterprise_linux:8::baseos | curl | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:8::baseos | curl-debuginfo | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:8::baseos | curl-debugsource | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:8::baseos | curl-minimal-debuginfo | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:8::baseos | libcurl | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:8::baseos | libcurl-debuginfo | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:8::baseos | libcurl-devel | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:8::baseos | libcurl-minimal | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:8::baseos | libcurl-minimal-debuginfo | before 0:7.61.1-30.el8_8.3 | 0:7.61.1-30.el8_8.3 |
| Red Hat:enterprise_linux:9::appstream | curl-debuginfo | before 0:7.76.1-23.el9_2.2 | 0:7.76.1-23.el9_2.2 |
+79
Same product
haxx: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-22901curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session…51Plan
- CVE-2023-38039When curl retrieves an HTTP response, it stores the incoming headers so that
they can be accessed later via the libcurl headers API.47Plan
- CVE-2024-2398HTTP/2 push headers memory-leak45Plan
Published before and after this one in the same product
- ← EarlierCVE-2023-28319May 26, 2023 · A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA…31Monitor
- ← EarlierCVE-2023-28320May 26, 2023 · A denial of service vulnerability exists in curl <v8.1.0 in the way libcurl provides several different backends for resolving host names…24Monitor
- Later →CVE-2023-28322May 26, 2023 · An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S) transfers, libcurl might erroneously use the read…15Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 tensorflow 2.11.1-1 on Azure Linux 3.0 | 2.16.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 tensorflow 2.16.1-1 on Azure Linux 3.0 | 2.16.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 curl 8.2.1-1 on CBL Mariner 2.0 | 8.2.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 mysql 8.0.34-1 on CBL Mariner 2.0 | 8.0.34-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 rust 1.72.0-2 on CBL Mariner 2.0 | 1.72.0-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:curl | 7.76.1-23.el9_2.2 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:curl-minimal | 7.76.1-23.el9_2.2 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libcurl | 7.76.1-23.el9_2.2 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libcurl-devel | 7.76.1-23.el9_2.2 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libcurl-minimal | 7.76.1-23.el9_2.2 · AlmaLinux:9 | Package registry (OSV) |
| alpine:curl | 8.1.0-r0 · Alpine:v3.15 | Package registry (OSV) |
| debian:curl | 7.88.1-10 · Debian:12 | Package registry (OSV) |
| opensuse:curl | 8.0.1-150400.5.23.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| red hat:curl | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:curl-debuginfo | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:curl-debugsource | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:curl-minimal | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:curl-minimal-debuginfo | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:jbcs-httpd24-apr | 0:1.7.0-8.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-debuginfo | 0:1.7.0-8.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:libcurl | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:libcurl-debuginfo | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libcurl-devel | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libcurl-minimal | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:libcurl-minimal-debuginfo | 0:7.76.1-23.el9_2.2 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| rocky linux:curl | 0:7.61.1-30.el8_8.3 · Rocky Linux:8 | Package registry (OSV) |
| suse:curl | 8.0.1-150400.5.23.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-23-0499 · Sep 7, 2023(Multicluster Engine Güvenlik Zafiyeti)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-295 · Improper Certificate ValidationCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Root cause
A certificate validation error is silently swallowed instead of terminating the connection. Often, code added for a test environment makes its way into production.
The bug in code
The whole CWE-295 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
override fun checkServerTrusted(chain: Array<X509Certificate>, type: String) {
// Left empty for the test environment
}Fixed
val client = OkHttpClient.Builder()
.certificatePinner(
CertificatePinner.Builder()
.add("api.sirius.example", "sha256/…")
.build()
).build()Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- seclists.org/fulldisclosure/2023/Jul/48
- seclists.org/fulldisclosure/2023/Jul/52
- lists.debian.org/debian-lts-announce/2023/10/msg00016.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4I75RDGX5ULSSCBE5BF3P5I5SFO7ULQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2LIWHWKOVH24COGGBCVOWDXXIUPKOMK/
- security.gentoo.org/glsa/202310-12
- security.netapp.com/advisory/ntap-20230609-0009/
- support.apple.com/kb/HT213843
- support.apple.com/kb/HT213844
- support.apple.com/kb/HT213845
Vendor advisories and official records. Exploit/PoC links are deliberately left out.