Cleartext Transmission of Sensitive Information Affecting curl package, versions <0:7.61.1-12.100.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.27% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-CURL-1920998
  • published16 Nov 2021
  • disclosed29 Sept 2021

Introduced: 29 Sep 2021

CVE-2021-22946  (opens in a new tab)
CWE-319  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 curl to version 0:7.61.1-12.100.amzn1 or higher.
This issue was patched in ALAS-2021-1549.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

A user can tell curl >= 7.20.0 and <= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server (--ssl-reqd on the command line orCURLOPT_USE_SSL set to CURLUSESSL_CONTROL or CURLUSESSL_ALL withlibcurl). This requirement could be bypassed if the server would return a properly crafted but perfectly legitimate response.This flaw would then make curl silently continue its operations withoutTLS contrary to the instructions and expectations, exposing possibly sensitive data in clear text over the network.

CVSS Scores

version 3.1