Amazon Linux AMI : e2fsprogs (ALAS-2021-1458)

medium Nessus Plugin ID 144997

Synopsis

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

Description

The version of e2fsprogs installed on the remote host is prior to 1.43.5-2.44. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2021-1458 advisory.

An exploitable code execution vulnerability exists in the quota file functionality of E2fsprogs 1.45.3. A specially crafted ext4 partition can cause an out-of-bounds write on the heap, resulting in code execution. An attacker can corrupt a partition to trigger this vulnerability. (CVE-2019-5094)

A code execution vulnerability exists in the directory rehashing functionality of E2fsprogs e2fsck 1.45.4.
A specially crafted ext4 directory can cause an out-of-bounds write on the stack, resulting in code execution. An attacker can corrupt a partition to trigger this vulnerability. (CVE-2019-5188)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update e2fsprogs' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2021-1458.html

https://access.redhat.com/security/cve/CVE-2019-5094

https://access.redhat.com/security/cve/CVE-2019-5188

Plugin Details

Severity: Medium

ID: 144997

File Name: ala_ALAS-2021-1458.nasl

Version: 1.4

Type: local

Agent: unix

Published: 1/14/2021

Updated: 12/11/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: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS Score Source: CVE-2019-5094

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 6

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

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

CVSS Score Source: CVE-2019-5188

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:e2fsprogs-static, p-cpe:/a:amazon:linux:e2fsprogs-debuginfo, p-cpe:/a:amazon:linux:libss, p-cpe:/a:amazon:linux:libcom_err-devel, p-cpe:/a:amazon:linux:e2fsprogs-libs, p-cpe:/a:amazon:linux:e2fsprogs-devel, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:libcom_err, p-cpe:/a:amazon:linux:e2fsprogs, p-cpe:/a:amazon:linux:libss-devel

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: 1/12/2021

Vulnerability Publication Date: 9/24/2019

Reference Information

CVE: CVE-2019-5094, CVE-2019-5188

ALAS: 2021-1458