CVE Vulnerabilities

CVE-2022-42916

Cleartext Transmission of Sensitive Information

Published: Oct 29, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

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.

Weakness

The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.

Affected Software

Name Vendor Start Version End Version
Curl Haxx 7.77.0 (including) 7.86.0 (excluding)
JBoss Core Services for RHEL 8 RedHat jbcs-httpd24-curl-0:7.86.0-2.el8jbcs *
JBoss Core Services on RHEL 7 RedHat jbcs-httpd24-curl-0:7.86.0-2.el7jbcs *
Text-Only JBCS RedHat jbcs-httpd24-curl *
Curl Ubuntu devel *
Curl Ubuntu jammy *
Curl Ubuntu kinetic *
Curl Ubuntu trusty *
Curl Ubuntu xenial *

Potential Mitigations

References