ALAS-2023-1727

Related Vulnerabilities: CVE-2023-27533   CVE-2023-27535   CVE-2023-27536  

The curl advisory describes this issue as follows: curl supports communicating using the TELNET protocol and as a part of this it offers users to pass on user name and "telnet options" for the server negotiation. Due to lack of proper input scrubbing and without it being the documented functionality, curl would pass on user name and telnet options to the server as provided. This could allow users to pass in carefully crafted content that pass on content or do option negotiation without the application intending to do so. In particular if an application for example allows users to provide the data or parts of the data. (CVE-2023-27533) The curl advisory describes this issue as follows: libcurl would reuse a previously created FTP connection even when one or more options had been changed that could have made the effective user a very different one, thus leading to the doing the second transfer with wrong credentials. (CVE-2023-27535) The curl advisory describes this issue as follows: libcurl would reuse a previously created connection even when the GSS delegation (CURLOPT_GSSAPI_DELEGATION) option had been changed that could have changed the user's permissions in a second transfer. libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, this GSS delegation setting was left out from the configuration match checks, making them match too easily, affecting krb5/kerberos/negotiate/GSSAPI transfers. (CVE-2023-27536)

ALAS-2023-1727


Amazon Linux AMI Security Advisory: ALAS-2023-1727
Advisory Release Date: 2023-04-13 19:01 Pacific
Advisory Updated Date: 2023-04-20 20:01 Pacific
Severity: Medium

Issue Overview:

The curl advisory describes this issue as follows:

curl supports communicating using the TELNET protocol and as a part of this it offers users to pass on user name and "telnet options" for the server negotiation.

Due to lack of proper input scrubbing and without it being the documented functionality, curl would pass on user name and telnet options to the server as provided. This could allow users to pass in carefully crafted content that pass on content or do option negotiation without the application intending to do so. In particular if an application for example allows users to provide the data or parts of the data. (CVE-2023-27533)

The curl advisory describes this issue as follows:

libcurl would reuse a previously created FTP connection even when one or more options had been changed that could have made the effective user a very different one, thus leading to the doing the second transfer with wrong credentials. (CVE-2023-27535)

The curl advisory describes this issue as follows:

libcurl would reuse a previously created connection even when the GSS delegation (CURLOPT_GSSAPI_DELEGATION) option had been changed that could have changed the user's permissions in a second transfer.

libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, this GSS delegation setting was left out from the configuration match checks, making them match too easily, affecting krb5/kerberos/negotiate/GSSAPI transfers. (CVE-2023-27536)


Affected Packages:

curl


Issue Correction:
Run yum update curl to update your system.

New Packages:
i686:
    curl-7.61.1-12.105.amzn1.i686
    curl-debuginfo-7.61.1-12.105.amzn1.i686
    libcurl-7.61.1-12.105.amzn1.i686
    libcurl-devel-7.61.1-12.105.amzn1.i686

src:
    curl-7.61.1-12.105.amzn1.src

x86_64:
    libcurl-7.61.1-12.105.amzn1.x86_64
    curl-7.61.1-12.105.amzn1.x86_64
    libcurl-devel-7.61.1-12.105.amzn1.x86_64
    curl-debuginfo-7.61.1-12.105.amzn1.x86_64