CVE-2023-28321
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`.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 7.88.1-10 |
| sid | Fixed | 7.88.1-10 |
| forky | Fixed | 7.88.1-10 |
| bullseye | Fixed | 7.74.0-1.3+deb11u9 |
| bookworm | Fixed | 7.88.1-10 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
References
- https://access.redhat.com/errata/RHSA-2023:4354
- https://security-tracker.debian.org/tracker/CVE-2023-28321
- https://errata.rockylinux.org/RLSA-2023:4523
- https://www.suse.com/security/cve/CVE-2023-28321.html
- https://bugzilla.redhat.com/2196786
- https://bugzilla.redhat.com/2196793
- https://errata.almalinux.org/9/ALSA-2023-4354.html
- https://access.redhat.com/errata/RHSA-2023:4523
- https://bugzilla.redhat.com/2179092
- https://errata.almalinux.org/8/ALSA-2023-4523.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.