ALAS-2019-1151

Related Vulnerabilities: CVE-2018-0500   CVE-2018-20483  

set_file_metadata in xattr.c in GNU Wget stores a file's origin URL in the user.xdg.origin.url metadata attribute of the extended attributes of the downloaded file, which allows local users to obtain sensitive information (e.g., credentials contained in the URL) by reading this attribute, as demonstrated by getfattr. This also applies to Referer information in the user.xdg.referrer.url metadata attribute. According to 2016-07-22 in the Wget ChangeLog, user.xdg.origin.url was partially based on the behavior of fwrite_xattr in tool_xattr.c in curl.(CVE-2018-20483) A heap-based buffer overflow has been found in the Curl_smtp_escape_eob() function of curl. An attacker could exploit this by convincing a user to use curl to upload data over SMTP with a reduced buffer to cause a crash or corrupt memory.(CVE-2018-0500)

ALAS-2019-1151


Amazon Linux AMI Security Advisory: ALAS-2019-1151
Advisory Release Date: 2019-02-07 04:24 Pacific
Advisory Updated Date: 2019-02-08 06:25 Pacific
Severity: Medium

Issue Overview:

set_file_metadata in xattr.c in GNU Wget stores a file's origin URL in the user.xdg.origin.url metadata attribute of the extended attributes of the downloaded file, which allows local users to obtain sensitive information (e.g., credentials contained in the URL) by reading this attribute, as demonstrated by getfattr. This also applies to Referer information in the user.xdg.referrer.url metadata attribute. According to 2016-07-22 in the Wget ChangeLog, user.xdg.origin.url was partially based on the behavior of fwrite_xattr in tool_xattr.c in curl.(CVE-2018-20483)

A heap-based buffer overflow has been found in the Curl_smtp_escape_eob() function of curl. An attacker could exploit this by convincing a user to use curl to upload data over SMTP with a reduced buffer to cause a crash or corrupt memory.(CVE-2018-0500)


Affected Packages:

curl


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

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

src:
    curl-7.61.1-7.91.amzn1.src

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