curl 7.81.0-1ubuntu1.11 fails verifying proper ssl cert w/ subj-alt-name
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
curl (Ubuntu) | Status tracked in Mantic | |||||
Focal |
Invalid
|
Undecided
|
Marc Deslauriers | |||
Jammy |
Fix Released
|
Undecided
|
Marc Deslauriers | |||
Kinetic |
Invalid
|
Undecided
|
Marc Deslauriers | |||
Lunar |
Invalid
|
Undecided
|
Marc Deslauriers | |||
Mantic |
Invalid
|
Undecided
|
Marc Deslauriers |
Bug Description
With the latest curl 7.81.0-1ubuntu1.11 on ubuntu 22.04, I'm getting the following:
curl -v https:/
* Trying 185.199.
* Connected to raw.githubuserc
[...]
* SSL connection using TLSv1.3 / TLS_AES_
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.github.io
* start date: Feb 21 00:00:00 2023 GMT
* expire date: Mar 20 23:59:59 2024 GMT
* subjectAltName does not match raw.githubuserc
* SSL: no alternative certificate subject name matches target host name 'raw.githubuser
curl: (60) SSL: no alternative certificate subject name matches target host name 'raw.githubuser
More details here: https:/
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
--
The alt name looks proper when looking at the cert w/ s_client:
openssl s_client -connect raw.githubuserc
X509v3 Subject Alternative Name:
Previous versions of curl work as intended.
CVE References
description: | updated |
Changed in curl (Ubuntu Focal): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in curl (Ubuntu Jammy): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in curl (Ubuntu Kinetic): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in curl (Ubuntu Lunar): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in curl (Ubuntu Mantic): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in curl (Ubuntu Focal): | |
status: | New → In Progress |
Changed in curl (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in curl (Ubuntu Kinetic): | |
status: | New → In Progress |
Changed in curl (Ubuntu Lunar): | |
status: | New → In Progress |
Changed in curl (Ubuntu Mantic): | |
status: | Confirmed → Invalid |
tags: | added: regression-update |
Status changed to 'Confirmed' because the bug affects multiple users.