QID 352402

Date Published: 2021-06-24

QID 352402: Amazon Linux Security Advisory for curl: ALAS2-2021-1653

<DIV ID="issue_overview"> it was discovered that libcurl did not remove authentication credentials from urls when automatically populating the referer http request header while handling http redirects.
This could lead to exposure of the credentials to the server to which requests were redirected. (
cve-2021-22876 ) a vulnerability was found in curl where a flaw in the option parser for sending new_env variables libcurl can pass 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.
The highest threat from this vulnerability is to confidentiality. (
cve-2021-22898 ) </DIV>

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 Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2021-1653 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 352402

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2021-1653 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2021-1653.html