{"schemaVersion":3,"id":"CVE-2023-28321","aliases":["ALPINE-CVE-2023-28321","UBUNTU-CVE-2023-28321","DEBIAN-CVE-2023-28321","CGA-g888-hr66-w768"],"status":"published","duplicateOf":null,"title":null,"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`.","dates":{"published":"2023-05-26T00:00:00.000Z","modified":"2025-01-15T15:54:33.745Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01806,"percentile":0.7825,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01806},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01806,"percentile":0.7825}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01806,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01806,"percentile":0.7825}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_75B87C02217CCF51","name":"Exploit Reference (hackerone.com)","source":"reference","url":"https://hackerone.com/reports/1950627","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-295","name":"Improper Certificate Validation","description":"The product does not validate, or incorrectly validates, a certificate.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/295.html"}],"affected":[{"vendor":"alpine","product":"curl","name":"curl","label":"curl","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/curl","purlType":"apk","versions":[{"text":"< 8.1.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libcurl4","name":"libcurl4","label":"libcurl4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libcurl4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libcurl4","name":"libcurl4","label":"libcurl4","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libcurl4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"apple","product":"macos","name":"macos","label":"macos","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ 11.0, < 11.7.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.0, < 12.6.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 13.0, < 13.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 11.0, < 11.7.9 | ≥ 12.0, < 12.6.8 | ≥ 13.0, < 13.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"macos","label":"Apple macOS","category":"os"}},"hubHref":"/vendor/apple/macos"},{"vendor":"debian","product":"curl","name":"curl","label":"curl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/curl","purlType":"deb","versions":[{"text":"< 7.88.1-10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.88.1-10","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"curl","name":"curl","label":"curl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/curl","purlType":"deb","versions":[{"text":"< 7.35.0-1ubuntu2.20+esm16","noFixRecorded":false,"fixedIn":null},{"text":"< 7.47.0-1ubuntu2.19+esm9","noFixRecorded":false,"fixedIn":null},{"text":"< 7.58.0-2ubuntu3.24+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 7.68.0-1ubuntu2.19","noFixRecorded":false,"fixedIn":null},{"text":"< 7.81.0-1ubuntu1.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.35.0-1ubuntu2.20+esm16 | < 7.47.0-1ubuntu2.19+esm9 | < 7.58.0-2ubuntu3.24+esm1 | < 7.68.0-1ubuntu2.19 | < 7.81.0-1ubuntu1.11","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null},{"text":"38","noFixRecorded":false,"fixedIn":null}],"versionsText":"37 | 38","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"haxx","product":"curl","name":"curl","label":"curl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 8.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.0","eol":null,"hubHref":"/vendor/haxx/curl"},{"vendor":"netapp","product":"clustered_data_ontap","name":"clustered data ontap","label":"clustered_data_ontap","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/clustered_data_ontap"},{"vendor":"netapp","product":"h300s_firmware","name":"h300s firmware","label":"h300s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h300s"},{"vendor":"netapp","product":"h410s_firmware","name":"h410s firmware","label":"h410s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h410s"},{"vendor":"netapp","product":"h500s_firmware","name":"h500s firmware","label":"h500s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h500s"},{"vendor":"netapp","product":"h700s_firmware","name":"h700s firmware","label":"h700s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h700s"},{"vendor":"netapp","product":"ontap_antivirus_connector","name":"ontap antivirus connector","label":"ontap_antivirus_connector","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/ontap_antivirus_connector"}],"affectedCount":15,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://hackerone.com/reports/1950627","label":"hackerone.com/reports/1950627","hostname":"hackerone.com","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4I75RDGX5ULSSCBE5BF3P5I5SFO7ULQ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2LIWHWKOVH24COGGBCVOWDXXIUPKOMK/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230609-0009/","label":"security.netapp.com/advisory/ntap-20230609-0009/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213843","label":"support.apple.com/kb/HT213843","hostname":"support.apple.com","tags":["Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213844","label":"support.apple.com/kb/HT213844","hostname":"support.apple.com","tags":["Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213845","label":"support.apple.com/kb/HT213845","hostname":"support.apple.com","tags":["Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2023/Jul/52","label":"seclists.org/fulldisclosure/2023/Jul/52","hostname":"seclists.org","tags":["Mailing List","Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2023/Jul/48","label":"seclists.org/fulldisclosure/2023/Jul/48","hostname":"seclists.org","tags":["Mailing List","Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2023/Jul/47","label":"seclists.org/fulldisclosure/2023/Jul/47","hostname":"seclists.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202310-12","label":"security.gentoo.org/glsa/202310-12","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00016.html","label":"lists.debian.org/debian-lts-announce/2023/10/msg00016.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-28321","label":"security.alpinelinux.org/vuln/CVE-2023-28321","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-28321","label":"ubuntu.com/security/CVE-2023-28321","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://curl.se/docs/CVE-2023-28321.html","label":"curl.se/docs/CVE-2023-28321.html","hostname":"curl.se","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6237-1","label":"ubuntu.com/security/notices/USN-6237-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6237-3","label":"ubuntu.com/security/notices/USN-6237-3","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-28321","label":"www.cve.org/CVERecord?id=CVE-2023-28321","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-28321","label":"security-tracker.debian.org/tracker/CVE-2023-28321","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28321","label":"nvd.nist.gov/vuln/detail/CVE-2023-28321","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3613-1","MGASA-2023-0263","OPENSUSE-SU-2024:12940-1","RHSA-2023:4354","RHSA-2023:4523","RHSA-2023:4629","RHSA-2023:5598","RHSA-2023:6292","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-3"],"duplicates":[],"related":["OPENSUSE-SU-2024:12940-1","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-3"]},"timeline":[{"kind":"published","date":"2023-05-26T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-01-15T15:54:33.745Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:45:41.442Z","stale":false,"partial":false}}