Amazon Linux 2 : exiv2 (ALAS-2021-1701)

high Nessus Plugin ID 153421

Synopsis

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

Description

The version of exiv2 installed on the remote host is prior to 0.27.0-4. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2021-1701 advisory.

A flaw was found in exiv2. A flawed bounds checking in the jp2Image.cpp:doWriteMetadata function leads to a heap-based buffer overflow. This flaw allows an attacker who can provide a malicious image to an application using the exiv2 library, to write data out of bounds and potentially execute code. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
(CVE-2021-31291)

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

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

Solution

Run 'yum update exiv2' to update your system.

See Also

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

https://access.redhat.com/security/cve/CVE-2021-31291

Plugin Details

Severity: High

ID: 153421

File Name: al2_ALAS-2021-1701.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/16/2021

Updated: 12/11/2024

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

Risk Information

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2021-31291

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:exiv2, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:exiv2-libs, p-cpe:/a:amazon:linux:exiv2-debuginfo, p-cpe:/a:amazon:linux:exiv2-devel, p-cpe:/a:amazon:linux:exiv2-doc

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/8/2021

Vulnerability Publication Date: 7/26/2021

Reference Information

CVE: CVE-2021-31291

ALAS: 2021-1701