Amazon Linux AMI update for kernel



Published: 2017-06-17
Risk Medium
Patch available YES
Number of vulnerabilities 5
CVE-ID CVE-2017-1000364
CVE-2017-1000365
CVE-2017-7482
CVE-2017-1000370
CVE-2017-1000371
CVE-2017-1000377
CWE-ID CWE-119
CWE-264
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #3 is available.
Public exploit code for vulnerability #4 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 5 vulnerabilities.

1) Memory corruption

EUVDB-ID: #VU7131

Risk: Medium

CVSSv3.1: 8.2 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]

CVE-ID: CVE-2017-1000364

CWE-ID: CWE-119 - Memory corruption

Exploit availability: Yes

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to memory management errors in implementation of various functions under multiple operating systems. A local or remote attacker can trigger the affected application to process specially crafted data, trigger memory corruption and execute arbitrary code on the target system. The vulnerability is dubbed by Qualys researchers as “Stack Clash”.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation

Update the affected packages:

i686:
    kernel-debuginfo-common-i686-4.9.27-14.33.amzn1.i686
    perf-debuginfo-4.9.27-14.33.amzn1.i686
    perf-4.9.27-14.33.amzn1.i686
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-headers-4.9.27-14.33.amzn1.i686
    kernel-tools-devel-4.9.27-14.33.amzn1.i686
    kernel-tools-4.9.27-14.33.amzn1.i686
    kernel-devel-4.9.27-14.33.amzn1.i686
    kernel-4.9.27-14.33.amzn1.i686

noarch:
    kernel-doc-4.9.27-14.33.amzn1.noarch

src:
    kernel-4.9.27-14.33.amzn1.src

x86_64:
    kernel-4.9.27-14.33.amzn1.x86_64
    kernel-tools-4.9.27-14.33.amzn1.x86_64
    kernel-devel-4.9.27-14.33.amzn1.x86_64
    perf-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.x86_64
    perf-4.9.27-14.33.amzn1.x86_64
    kernel-headers-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.9.27-14.33.amzn1.x86_64
    kernel-tools-devel-4.9.27-14.33.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2017-845.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.

2) Security restrictions bypass

EUVDB-ID: #VU7237

Risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-1000365,CVE-2017-7482

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a local attacker to bypass security restrictions on the target system.

The weakness exists due to the failure to take the argument and environment strings passed through RLIMIT_STACK/RLIM_INFINITY (1/4 of the size) into account when imposing a size restriction. A local attacker can bypass security limitation and perform unauthorized actions.

Successful exploitation of the vulnerability results in access to the system.

Mitigation

Update the affected packages:

i686:
    kernel-debuginfo-common-i686-4.9.27-14.33.amzn1.i686
    perf-debuginfo-4.9.27-14.33.amzn1.i686
    perf-4.9.27-14.33.amzn1.i686
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-headers-4.9.27-14.33.amzn1.i686
    kernel-tools-devel-4.9.27-14.33.amzn1.i686
    kernel-tools-4.9.27-14.33.amzn1.i686
    kernel-devel-4.9.27-14.33.amzn1.i686
    kernel-4.9.27-14.33.amzn1.i686

noarch:
    kernel-doc-4.9.27-14.33.amzn1.noarch

src:
    kernel-4.9.27-14.33.amzn1.src

x86_64:
    kernel-4.9.27-14.33.amzn1.x86_64
    kernel-tools-4.9.27-14.33.amzn1.x86_64
    kernel-devel-4.9.27-14.33.amzn1.x86_64
    perf-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.x86_64
    perf-4.9.27-14.33.amzn1.x86_64
    kernel-headers-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.9.27-14.33.amzn1.x86_64
    kernel-tools-devel-4.9.27-14.33.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2017-845.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Security restrictions bypass

EUVDB-ID: #VU8003

Risk: Low

CVSSv3.1: 7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2017-1000370

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: Yes

Description

The vulnerability allows a local attacker to bypass security restrictions on the target system.

The weakness exists due to a flaw in offset2lib patch. A local attacker can send a specially-crafted request, bypass security restrictions and gain full access to the system.

Mitigation

Update the affected packages:

i686:
    kernel-debuginfo-common-i686-4.9.27-14.33.amzn1.i686
    perf-debuginfo-4.9.27-14.33.amzn1.i686
    perf-4.9.27-14.33.amzn1.i686
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-headers-4.9.27-14.33.amzn1.i686
    kernel-tools-devel-4.9.27-14.33.amzn1.i686
    kernel-tools-4.9.27-14.33.amzn1.i686
    kernel-devel-4.9.27-14.33.amzn1.i686
    kernel-4.9.27-14.33.amzn1.i686

noarch:
    kernel-doc-4.9.27-14.33.amzn1.noarch

src:
    kernel-4.9.27-14.33.amzn1.src

x86_64:
    kernel-4.9.27-14.33.amzn1.x86_64
    kernel-tools-4.9.27-14.33.amzn1.x86_64
    kernel-devel-4.9.27-14.33.amzn1.x86_64
    perf-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.x86_64
    perf-4.9.27-14.33.amzn1.x86_64
    kernel-headers-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.9.27-14.33.amzn1.x86_64
    kernel-tools-devel-4.9.27-14.33.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2017-845.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

4) Security restrictions bypass

EUVDB-ID: #VU8002

Risk: Low

CVSSv3.1: 7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2017-1000371

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: Yes

Description

The vulnerability allows a local attacker to bypass security restrictions on the target system.

The weakness exists due to a flaw in offset2lib patch. A local attacker can send a specially-crafted request, bypass security restrictions and gain full access to the system.

Mitigation

Update the affected packages:

i686:
    kernel-debuginfo-common-i686-4.9.27-14.33.amzn1.i686
    perf-debuginfo-4.9.27-14.33.amzn1.i686
    perf-4.9.27-14.33.amzn1.i686
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-headers-4.9.27-14.33.amzn1.i686
    kernel-tools-devel-4.9.27-14.33.amzn1.i686
    kernel-tools-4.9.27-14.33.amzn1.i686
    kernel-devel-4.9.27-14.33.amzn1.i686
    kernel-4.9.27-14.33.amzn1.i686

noarch:
    kernel-doc-4.9.27-14.33.amzn1.noarch

src:
    kernel-4.9.27-14.33.amzn1.src

x86_64:
    kernel-4.9.27-14.33.amzn1.x86_64
    kernel-tools-4.9.27-14.33.amzn1.x86_64
    kernel-devel-4.9.27-14.33.amzn1.x86_64
    perf-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.x86_64
    perf-4.9.27-14.33.amzn1.x86_64
    kernel-headers-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.9.27-14.33.amzn1.x86_64
    kernel-tools-devel-4.9.27-14.33.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2017-845.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

5) Buffer overflow

EUVDB-ID: #VU38829

Risk: Medium

CVSSv3.1: 5.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-1000377

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

An issue was discovered in the size of the default stack guard page on PAX Linux (originally from GRSecurity but shipped by other Linux vendors), specifically the default stack guard page is not sufficiently large and can be "jumped" over (the stack guard page is bypassed), this affects PAX Linux Kernel versions as of June 19, 2017 (specific version information is not available at this time).

Mitigation

Update the affected packages:

i686:
    kernel-debuginfo-common-i686-4.9.27-14.33.amzn1.i686
    perf-debuginfo-4.9.27-14.33.amzn1.i686
    perf-4.9.27-14.33.amzn1.i686
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-debuginfo-4.9.27-14.33.amzn1.i686
    kernel-headers-4.9.27-14.33.amzn1.i686
    kernel-tools-devel-4.9.27-14.33.amzn1.i686
    kernel-tools-4.9.27-14.33.amzn1.i686
    kernel-devel-4.9.27-14.33.amzn1.i686
    kernel-4.9.27-14.33.amzn1.i686

noarch:
    kernel-doc-4.9.27-14.33.amzn1.noarch

src:
    kernel-4.9.27-14.33.amzn1.src

x86_64:
    kernel-4.9.27-14.33.amzn1.x86_64
    kernel-tools-4.9.27-14.33.amzn1.x86_64
    kernel-devel-4.9.27-14.33.amzn1.x86_64
    perf-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-4.9.27-14.33.amzn1.x86_64
    kernel-tools-debuginfo-4.9.27-14.33.amzn1.x86_64
    perf-4.9.27-14.33.amzn1.x86_64
    kernel-headers-4.9.27-14.33.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.9.27-14.33.amzn1.x86_64
    kernel-tools-devel-4.9.27-14.33.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2017-845.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###