Amazon Linux 2023 : pesign (ALAS2023-2023-118)

medium Nessus Plugin ID 173062

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2023-118 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

Run 'dnf update pesign --releasever=2023.0.20230308' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-118.html

https://alas.aws.amazon.com/cve/html/CVE-2022-3560.html

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

Plugin Details

Severity: Medium

ID: 173062

File Name: al2023_ALAS2023-2023-118.nasl

Version: 1.0

Type: local

Agent: unix

Published: 3/21/2023

Updated: 3/21/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, 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:amazon:linux:pesign-debuginfo, p-cpe:/a:amazon:linux:pesign, p-cpe:/a:amazon:linux:pesign-debugsource, cpe:/o:amazon:linux:2023

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/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