CVE-2022-42916

Name
CVE-2022-42916
Description
In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://curl.se/docs/CVE-2022-42916.html
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* curl >= 7.77.0 < 7.86.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
curl 3.16-main 7.83.1-r4 Natanael Copa <ncopa@alpinelinux.org> fixed
curl 3.15-main 7.80.0-r4 Natanael Copa <ncopa@alpinelinux.org> fixed
curl 3.14-main 7.79.1-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
curl 3.13-main 7.79.1-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable