Amazon Linux 2 : libgsf (ALAS-2024-2681)

high Nessus Plugin ID 210095

Synopsis

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

Description

The version of libgsf installed on the remote host is prior to 1.14.26-7. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2024-2681 advisory.

An integer overflow vulnerability exists in the Compound Document Binary File format parser of the GNOME Project G Structured File Library (libgsf) version v1.14.52. A specially crafted file can result in an integer overflow when processing the directory from the file that allows for an out-of-bounds index to be used when reading and writing to an array. This can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability. (CVE-2024-36474)

An integer overflow vulnerability exists in the Compound Document Binary File format parser of v1.14.52 of the GNOME Project G Structured File Library (libgsf). A specially crafted file can result in an integer overflow that allows for a heap-based buffer overflow when processing the sector allocation table. This can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability. (CVE-2024-42415)

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 libgsf' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2024-2681.html

https://alas.aws.amazon.com/cve/html/CVE-2024-36474.html

https://alas.aws.amazon.com/cve/html/CVE-2024-42415.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 210095

File Name: al2_ALAS-2024-2681.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/1/2024

Updated: 11/1/2024

Supported Sensors: Agentless 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.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2024-42415

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:libgsf-devel, p-cpe:/a:amazon:linux:libgsf-debuginfo, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:libgsf

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

Exploit Available: true

Exploit Ease: No known exploits are available

Patch Publication Date: 10/24/2024

Vulnerability Publication Date: 10/3/2024

Reference Information

CVE: CVE-2024-36474, CVE-2024-42415