QID 352843

Date Published: 2021-09-20

QID 352843: Amazon Linux Security Advisory for curl: ALAS2-2021-1700

A flaw was found in the way curl handled telnet protocol option for sending environment variables, which could lead to sending of uninitialized data from a stack-based buffer to the server.
This issue leads to potentially revealing sensitive internal information to the server using a clear-text network protocol. (
( CVE-2021-22898) a flaw was found in curl in the way curl handles a file hash mismatch after downloading content using the metalink feature.
This flaw allows malicious actors controlling a hosting server to trick users into downloading malicious content.
The highest threat from this vulnerability is to integrity. (
( CVE-2021-22922) a flaw was found in curl in the way curl handles credentials when downloading content using the metalink feature.
This flaw allows malicious actors controlling a hosting server to gain access to credentials provided while downloading content without the user's knowledge.
The highest threat from this vulnerability is to confidentiality. (
( CVE-2021-22923) a flaw was found in libcurl in the way libcurl handles previously used connections without accounting for 'issuer cert' and comparing the involved paths case-insensitively.
This flaw allows libcurl to use the wrong connection.
( CVE-2021-22924) a flaw was found in the way curl handled telnet protocol option for sending environment variables, which could lead to sending of uninitialized data from a stack-based buffer to the server.
( CVE-2021-22925)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Allows unauthorized disclosure of information; allows unauthorized modification; allows disruption of service.

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2021-1700 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2021-1700 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2021-1700.html