Azure Linux 3.0 Security Update: pam (CVE-2025-6020)

high Nessus Plugin ID 242231

Synopsis

The remote Azure Linux host is missing one or more security updates.

Description

The version of pam installed on the remote Azure Linux 3.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2025-6020 advisory.

- A flaw was found in linux-pam. The module pam_namespace May use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions. (CVE-2025-6020)

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 packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2025-6020

Plugin Details

Severity: High

ID: 242231

File Name: azure_linux_CVE-2025-6020.nasl

Version: 1.1

Type: local

Published: 7/17/2025

Updated: 7/17/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2025-6020

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:azure_linux:pam-devel, x-cpe:/o:microsoft:azure_linux, p-cpe:/a:microsoft:azure_linux:pam-lang, p-cpe:/a:microsoft:azure_linux:pam-debuginfo, p-cpe:/a:microsoft:azure_linux:pam

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/8/2025

Vulnerability Publication Date: 6/17/2025

Reference Information

CVE: CVE-2025-6020