Amazon Linux AMI : grep (ALAS-2015-598)

medium Nessus Plugin ID 86076

Synopsis

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

Description

An integer overflow flaw, leading to a heap-based buffer overflow, was found in the way grep parsed large lines of data. An attacker able to trick a user into running grep on a specially crafted data file could use this flaw to crash grep or, potentially, execute arbitrary code with the privileges of the user running grep. (CVE-2012-5667)

A heap-based buffer overflow flaw was found in the way grep processed certain pattern and text combinations. An attacker able to trick a user into running grep on specially crafted input could use this flaw to crash grep or, potentially, read from uninitialized memory.
(CVE-2015-1345)

Solution

Run 'yum update grep' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2015-598.html

Plugin Details

Severity: Medium

ID: 86076

File Name: ala_ALAS-2015-598.nasl

Version: 2.2

Type: local

Agent: unix

Published: 9/23/2015

Updated: 4/18/2018

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 4.4

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:grep, p-cpe:/a:amazon:linux:grep-debuginfo, cpe:/o:amazon:linux

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

Patch Publication Date: 9/22/2015

Reference Information

CVE: CVE-2012-5667, CVE-2015-1345

ALAS: 2015-598

RHSA: 2015:1447