Vulnerability · Published Oct 29, 2022 · Assigned by mitre

CVE-2022-42916

High 7.5

In plain English

A high-severity security flaw in the curl package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.5% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.5%top 15.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl7.86.0-r0ALPINE-CVE-2022-42916
Alpine:v3.21curl7.86.0-r0ALPINE-CVE-2022-42916
Alpine:v3.22curl7.86.0-r0ALPINE-CVE-2022-42916
Alpine:v3.23curl7.86.0-r0ALPINE-CVE-2022-42916
Alpine:v3.24curl7.86.0-r0ALPINE-CVE-2022-42916
Debian:12curl7.86.0-1DEBIAN-CVE-2022-42916
Debian:13curl7.86.0-1DEBIAN-CVE-2022-42916
Debian:14curl7.86.0-1DEBIAN-CVE-2022-42916
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.6UBUNTU-CVE-2022-42916
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.6USN-5702-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-319 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References