Amazon Linux 2 : procps-ng (ALAS-2018-1031)

High Nessus Plugin ID 110448

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

Multiple integer overflows leading to heap corruption flaws were discovered in file2strvec(). These vulnerabilities can lead to privilege escalation for a local attacker who can create entries in procfs by starting processes, which will lead to crashes or arbitrary code execution in proc utilities run by other users (eg pgrep, pkill, pidof, w).(CVE-2018-1124)

A flaw was found where procps-ng provides wrappers for standard C allocators that took `unsigned int` instead of `size_t` parameters. On platforms where these differ (such as x86_64), this could cause integer truncation, leading to undersized regions being returned to callers that could then be overflowed. The only known exploitable vector for this issue is CVE-2018-1124 .(CVE-2018-1126)

Solution

Run 'yum update procps-ng' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2018-1031.html

Plugin Details

Severity: High

ID: 110448

File Name: al2_ALAS-2018-1031.nasl

Version: 1.5

Type: local

Agent: unix

Published: 2018/06/12

Updated: 2019/04/05

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:procps-ng, p-cpe:/a:amazon:linux:procps-ng-debuginfo, p-cpe:/a:amazon:linux:procps-ng-devel, p-cpe:/a:amazon:linux:procps-ng-i18n, cpe:/o:amazon:linux:2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2018/06/07

Reference Information

CVE: CVE-2018-1124, CVE-2018-1126

ALAS: 2018-1031

IAVA: 2018-A-0174