Lucene search

K
osvGoogleOSV:CURL-CVE-2023-28321
HistoryMay 17, 2023 - 8:00 a.m.

IDN wildcard match

2023-05-1708:00:00
Google
osv.dev
1
idn
wildcard
tls
server certificates
puny code
pattern match
software

5.9 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

6.2 Medium

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

52.3%

curl 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.

5.9 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

6.2 Medium

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

52.3%