AlmaLinux 9 : pesign (ALSA-2023:1067)

medium Nessus Plugin ID 172145

Synopsis

The remote AlmaLinux host is missing a security update.

Description

The remote AlmaLinux 9 host has a package installed that is affected by a vulnerability as referenced in the ALSA-2023:1067 advisory.

- A flaw was found in pesign. The pesign package provides a systemd service used to start the pesign daemon.
This service unit runs a script to set ACLs for /etc/pki/pesign and /run/pesign directories to grant access privileges to users in the 'pesign' group. However, the script doesn't check for symbolic links.
This could allow an attacker to gain access to privileged files and directories via a path traversal attack. (CVE-2022-3560)

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 pesign package.

See Also

https://errata.almalinux.org/9/ALSA-2023-1067.html

Plugin Details

Severity: Medium

ID: 172145

File Name: alma_linux_ALSA-2023-1067.nasl

Version: 1.0

Type: local

Published: 3/7/2023

Updated: 3/7/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2022-3560

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: p-cpe:/a:alma:linux:pesign, cpe:/o:alma:linux:9, cpe:/o:alma:linux:9::appstream

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/6/2023

Vulnerability Publication Date: 1/31/2023

Reference Information

CVE: CVE-2022-3560

CWE: 22, 269