AlmaLinux 8 : nano (ALSA-2024:6986)

medium Nessus Plugin ID 207751

Synopsis

The remote AlmaLinux host is missing a security update.

Description

The remote AlmaLinux 8 host has a package installed that is affected by a vulnerability as referenced in the ALSA-2024:6986 advisory.

* nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file (CVE-2024-5742)

Tenable has extracted the preceding description block directly from the AlmaLinux 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

Update the affected nano package.

See Also

https://errata.almalinux.org/8/ALSA-2024-6986.html

Plugin Details

Severity: Medium

ID: 207751

File Name: alma_linux_ALSA-2024-6986.nasl

Version: 1.1

Type: local

Published: 9/25/2024

Updated: 9/25/2024

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6

Temporal Score: 4.4

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

CVSS Score Source: CVE-2024-5742

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

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

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

Vulnerability Information

CPE: cpe:/o:alma:linux:8::sap_hana, cpe:/o:alma:linux:8::nfv, cpe:/o:alma:linux:8::highavailability, p-cpe:/a:alma:linux:nano, cpe:/o:alma:linux:8::powertools, cpe:/o:alma:linux:8::realtime, cpe:/o:alma:linux:8, cpe:/o:alma:linux:8::baseos, cpe:/o:alma:linux:8::resilientstorage, cpe:/o:alma:linux:8::sap, cpe:/o:alma:linux:8::appstream, cpe:/o:alma:linux:8::supplementary

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/24/2024

Vulnerability Publication Date: 6/12/2024

Reference Information

CVE: CVE-2024-5742

CWE: 377