Amazon Linux AMI update for curl

Published: 2019-02-08 07:25:00 | Updated: 2019-02-11
Severity High
Patch available YES
Number of vulnerabilities 2
CVE ID CVE-2018-20483
CVE-2018-0500
CVSSv3 3.4 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N/E:U/RL:O/RC:C]
8.7 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
CWE ID CWE-200
CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software Amazon Linux AMI
Vulnerable software versions Amazon Linux AMI 2017.03
Vendor URL Amazon Web Services, Inc.

Security Advisory

1) Information disclosure

Description

The vulnerability allows a local attacker to gain access to potentially sensitive information.

The vulnerability exists due to set_file_metadata in xattr.c stores a file's origin URL in the user.xdg.origin.url metadata attribute of the extended attributes of the downloaded file. A local attacker can read this attribute, as demonstrated by getfattr and obtain credentials contained in the URL.

Remediation

Update the affected 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

External links

https://alas.aws.amazon.com/ALAS-2019-1151.html

2) Heap-based buffer overflow

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists in curl_smtp_escape_eob in lib/smtp.c due to heap-based buffer overflow when a system invokes curl to send data via SMTP and uses a reduced read buffer. A remote unauthenticated attacker can trigger memory corruption and cause the service to crash or execute arbitrary data with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Remediation

Update the affected 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

External links

https://alas.aws.amazon.com/ALAS-2019-1151.html

Back to List