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

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

ID: 110448

File Name: al2_ALAS-2018-1031.nasl

Version: 1.8

Type: local

Agent: unix

Published: 6/12/2018

Updated: 9/24/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

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

CVSS Score Source: CVE-2018-1126

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

Vulnerability Publication Date: 5/23/2018

Reference Information

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

ALAS: 2018-1031

IAVA: 2018-A-0174-S