Cleartext transmission of sensitive information in cURL - CVE-2021-22946

 

Cleartext transmission of sensitive information in cURL - CVE-2021-22946

Published: September 15, 2021


Vulnerability identifier: #VU56613
CSH Severity: Medium
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-22946
CWE-ID: CWE-319
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to an error, related to incorrect enforcement of the --ssl-reqd option on the command line or CURLOPT_USE_SSL setting set to CURLUSESSL_CONTROL or CURLUSESSL_ALL with libcurl. A remote attacker with control over the IMAP, POP3 or FTP server can send a specially crafted but perfectly legitimate response to the libcurl client and force it silently to continue its operations without TLS encryption and transmit data in clear text over the network.


Affected software

cURL
Amazon Linux AMI
Gentoo Linux
SUSE CaaS Platform
SUSE MicroOS
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
SUSE Linux Enterprise Server
macOS
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Slackware Linux
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
openEuler
Fedora
My Cloud OS 5
WD Cloud
My Cloud EX2100
My Cloud DL4100
My Cloud DL2100
My Cloud Mirror G2
My Cloud EX2 Ultra
My Cloud EX4100
My Cloud PR4100
My Cloud PR2100
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
My Cloud
cflinuxfs3
DB2 Warehouse on Cloud Pak for Data
DB2 on Cloud Pak for Data
Watson Studio on Cloud Pak for Data
Data Lakehouse
Service Telemetry Framework
Oracle Communications Cloud Native Core Binding Support Function
Oracle Communications Cloud Native Core Network Repository Function
IBM Spectrum Copy Data Management
EasyApache
IBM QRadar WinCollect Agent
Red Hat Advanced Cluster Management for Kubernetes
IBM Cloud Transformation Advisor
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Spectrum Protect Plus
Juniper Cloud Native Router
Oracle Communications Cloud Native Core Network Slice Selection Function
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
Oracle Communications Cloud Native Core Service Communication Proxy
Dell EMC AppSync
MySQL Server
Oracle Essbase
curl (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libcurl4-openssl1-x86
libcurl4-openssl1-32bit
curl-openssl1
libcurl4-openssl1
curl (Ubuntu package)
libcurl3-nss (Ubuntu package)
libcurl3-gnutls (Ubuntu package)
libcurl3 (Ubuntu package)
libcurl4 (Ubuntu package)
libcurl4-debuginfo
libcurl4-debuginfo-32bit
libcurl4
libcurl4-32bit
curl-debugsource
curl-debuginfo
curl
libcurl-devel
libcurl4-32bit-debuginfo
libcurl
libcurl-minimal
rh-dotnet31-curl (Red Hat package)
curl-help
curl (Debian package)
net-misc/curl
Splunk Universal Forwarder
Splunk Enterprise
PeopleSoft Enterprise PeopleTools
Oracle Commerce Guided Search
SINEC INS
Red Hat OpenShift Serverless
RUGGEDCOM ROX RX1536
RUGGEDCOM ROX MX5000
RUGGEDCOM ROX MX5000RE
RUGGEDCOM ROX RX1400
RUGGEDCOM ROX RX1500
RUGGEDCOM ROX RX1501
RUGGEDCOM ROX RX1510
RUGGEDCOM ROX RX1511
RUGGEDCOM ROX RX1512
RUGGEDCOM ROX RX1524
RUGGEDCOM ROX RX5000
Junos cRPD
Juniper Junos Space

How to mitigate CVE-2021-22946

Install updates from vendor's website.

cURL - update to 7.79.0
cflinuxfs3 - update to 0.257.0
Data Lakehouse - update to 1.1.0.0
IBM Spectrum Copy Data Management - update to 2.2.17
EasyApache - update to 4 2021-9-22
Dell EMC AppSync - update to 4.4.1.0_3996_R1
MySQL Server - addressed in versions 5.7.37, 8.0.28
curl (Red Hat package) - addressed in versions 7.61.1-12.el8_2.4, 7.61.1-18.el8_4.2
Splunk Universal Forwarder - addressed in versions 8.1.14, 8.2.11, 9.0.5
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.1.1
IBM QRadar WinCollect Agent - update to 10.0.2
macOS - update to 12.3 21E230
SINEC INS - update to 1.0.1.1
Red Hat OpenShift Serverless - update to 1.19.0
Red Hat Advanced Cluster Management for Kubernetes - update to 2.2.10
RUGGEDCOM ROX RX1536 - update to 2.16.0
RUGGEDCOM ROX MX5000 - update to 2.16.0
RUGGEDCOM ROX MX5000RE - update to 2.16.0
RUGGEDCOM ROX RX1400 - update to 2.16.0
RUGGEDCOM ROX RX1500 - update to 2.16.0
RUGGEDCOM ROX RX1501 - update to 2.16.0
RUGGEDCOM ROX RX1510 - update to 2.16.0
RUGGEDCOM ROX RX1511 - update to 2.16.0
RUGGEDCOM ROX RX1512 - update to 2.16.0
RUGGEDCOM ROX RX1524 - update to 2.16.0
RUGGEDCOM ROX RX5000 - update to 2.16.0
IBM Cloud Transformation Advisor - update to 3.10.0
DB2 Warehouse on Cloud Pak for Data - update to 4.8.2
DB2 on Cloud Pak for Data - update to 4.8.2
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.8.5
Watson Studio on Cloud Pak for Data - update to 5.0.3
Dell EMC Unity XT Operating Environment (OE) - update to 5.2.1.0.5.013
Dell EMC Unity Operating Environment (OE) - update to 5.2.1.0.5.013
Dell EMC Unity VSA Operating Environment (OE) - update to 5.2.1.0.5.013
My Cloud OS 5 - update to 5.25.124
libcurl4-openssl1-x86 - update to 7.37.0-70.74.1
libcurl4-openssl1-32bit - update to 7.37.0-70.74.1
curl-openssl1 - update to 7.37.0-70.74.1
libcurl4-openssl1 - update to 7.37.0-70.74.1
curl (Ubuntu package) - addressed in versions 7.47.01ubuntu2.19+esm1, 7.47.01ubuntu2.19+esm2, 7.58.0-2ubuntu3.15, 7.58.0-2ubuntu3.16, 7.68.0-1ubuntu2.7, 7.74.0-1ubuntu2.3
libcurl3-nss (Ubuntu package) - addressed in versions 7.47.01ubuntu2.19+esm1, 7.47.01ubuntu2.19+esm2, 7.58.0-2ubuntu3.15, 7.58.0-2ubuntu3.16, 7.68.0-1ubuntu2.7, 7.74.0-1ubuntu2.3
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.47.01ubuntu2.19+esm1, 7.47.01ubuntu2.19+esm2, 7.58.0-2ubuntu3.15, 7.58.0-2ubuntu3.16, 7.68.0-1ubuntu2.7, 7.74.0-1ubuntu2.3
libcurl3 (Ubuntu package) - addressed in versions 7.47.01ubuntu2.19+esm1, 7.47.01ubuntu2.19+esm2
libcurl4 (Ubuntu package) - addressed in versions 7.58.0-2ubuntu3.15, 7.58.0-2ubuntu3.16, 7.68.0-1ubuntu2.7, 7.74.0-1ubuntu2.3
libcurl4-debuginfo - addressed in versions 7.60.0-4.30.1, 7.60.0-11.28.1, 7.60.0-25.1
libcurl4-debuginfo-32bit - addressed in versions 7.60.0-4.30.1, 7.60.0-11.28.1
libcurl4 - addressed in versions 7.60.0-4.30.1, 7.60.0-11.28.1, 7.60.0-25.1
libcurl4-32bit - addressed in versions 7.60.0-4.30.1, 7.60.0-11.28.1, 7.60.0-25.1
curl-debugsource - addressed in versions 7.60.0-4.30.1, 7.60.0-11.28.1, 7.60.0-25.1
curl-debuginfo - addressed in versions 7.60.0-4.30.1, 7.60.0-11.28.1, 7.60.0-25.1
curl - addressed in versions 7.60.0-4.30.1, 7.60.0-11.28.1, 7.60.0-25.1
libcurl-devel - addressed in versions 7.60.0-11.28.1, 7.60.0-25.1
libcurl4-32bit-debuginfo - update to 7.60.0-25.1
libcurl-devel - update to 7.61.1-18
libcurl - update to 7.61.1-18
libcurl-minimal - update to 7.61.1-18
curl - update to 7.61.1-18
rh-dotnet31-curl (Red Hat package) - update to 7.61.1-22.el7_9
curl-help - update to 7.71.1-11
curl-debuginfo - update to 7.71.1-11
curl-debugsource - update to 7.71.1-11
libcurl-devel - update to 7.71.1-11
libcurl - update to 7.71.1-11
curl - update to 7.71.1-11
curl - addressed in versions 7.71.1-11.fc33, 7.76.1-12.fc34, 7.79.0-4.fc35, 7.79.1-1.fc35
curl (Debian package) - update to 7.74.0-1.3+deb11u2
net-misc/curl - update to 7.86.0
IBM Spectrum Protect Plus - update to 10.1.12
Juniper Junos Space - update to 22.1R1
Junos cRPD - update to 23.4R1
Juniper Cloud Native Router - update to 23.4R1

External References

Related Security Bulletins