Amazon Linux 2023 : pam, pam-devel (ALAS2023-2024-502)

medium Nessus Plugin ID 190072

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-2024-502 advisory.

A vulnerability was found in Linux PAM. An unprivileged user that is not yet in a corresponding mount namespace with ~/tmp mounted as a polyinstantiated dir can place a FIFO there, and a subsequent attempt to login as this user with `pam_namespace` configured will cause the `openat()` in `protect_dir()` to block the attempt, causing a local denial of service. (CVE-2024-22365)

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 'dnf update pam --releasever 2023.3.20240205' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2024-502.html

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

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

Plugin Details

Severity: Medium

ID: 190072

File Name: al2023_ALAS2023-2024-502.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2/6/2024

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS Score Source: CVE-2024-22365

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:pam-debuginfo, p-cpe:/a:amazon:linux:pam-debugsource, p-cpe:/a:amazon:linux:pam-docs, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:pam, p-cpe:/a:amazon:linux:pam-devel

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/1/2024

Vulnerability Publication Date: 2/1/2024

Reference Information

CVE: CVE-2024-22365