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

critical Nessus Plugin ID 110448
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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: Critical

ID: 110448

File Name: al2_ALAS-2018-1031.nasl

Version: 1.5

Type: local

Agent: unix

Published: 6/12/2018

Updated: 4/5/2019

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

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

Risk Factor: Critical

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: cpe:2.3:o:amazon:linux:2:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:procps-ng:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:procps-ng-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:procps-ng-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:procps-ng-i18n:*:*:*:*:*:*:*

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: 6/7/2018

Reference Information

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

IAVA: 2018-A-0174

ALAS: 2018-1031