cve.bz

CVE-2024-22365 linux-pam linux-pam

5.5 mediumExploit referenceEPSS 0.5%Fix available

Medium (5.5) in linux-pam linux-pam. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
linux-pam (aka Linux PAM) before 1.6.0 allows attackers to cause a denial of service (blocked login process) via mkfifo because the openat call (for protect_dir) lacks O_DIRECTORY.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-664 Improper Control of a Resource Through its Lifetime
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-22365 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-22365?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-22365?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-22365 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux-pam:linux-pambefore 1.6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11pam1.4.0-9+deb11u2DLA-4306-1
Debian12pam1.5.2-6+deb12u3DEBIAN-CVE-2024-22365 DLA-4941-1
Debian13, 14pam1.5.3-4DEBIAN-CVE-2024-22365
Ubuntu20.04:LTSpam1.3.1-5ubuntu4.7UBUNTU-CVE-2024-22365 USN-6588-1
Ubuntu22.04:LTSpam1.4.0-11ubuntu2.4UBUNTU-CVE-2024-22365 USN-6588-1
UbuntuPro:14.04:LTSpam1.1.8-1ubuntu2.2+esm4UBUNTU-CVE-2024-22365 USN-6588-2
UbuntuPro:16.04:LTSpam1.1.8-3.2ubuntu2.3+esm5UBUNTU-CVE-2024-22365 USN-6588-2
UbuntuPro:18.04:LTSpam1.1.8-3.6ubuntu2.18.04.6+esm1UBUNTU-CVE-2024-22365 USN-6588-2
Red Hatenterprise_linux:8::baseospam, pam-devel, pam-debuginfo and 1 more0:1.3.1-33.el8RHSA-2024:3163
Red Hatenterprise_linux:9::appstreampam-docs, pam-devel, pam-debuginfo and 1 more0:1.5.1-19.el9RHSA-2024:2438
Red Hatenterprise_linux:9::baseospam, pam-debuginfo, pam-debugsource0:1.5.1-19.el9RHSA-2024:2438
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 22 morepam1.3.0-150000.6.66.1SUSE-SU-2024:0136-1
SUSELinux Enterprise Micro 5.5pam1.3.0-150000.6.66.1SUSE-SU-2024:0136-2
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5pam1.1.8-24.56.1SUSE-SU-2024:0137-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4pam1.3.0-150000.6.66.1SUSE-SU-2024:0136-1
AlmaLinux8pam, pam-devel1.3.1-33.el8ALSA-2024:3163
AlmaLinux9pam, pam-docs, pam-devel1.5.1-19.el9ALSA-2024:2438
Rocky Linux8pam0:1.3.1-33.el8RLSA-2024:3163
Alpinev3.20, v3.21, v3.22 and 2 morelinux-pam1.6.0-r0ALPINE-CVE-2024-22365
Azure Linux2pam1.5.1-6AZL-34156
Azure Linux3pam1.5.3-2AZL-35100
Alpaquita23linux-pamno fix listedBELL-CVE-2024-22365
Alpaquitastreamlinux-pam1.6.0-r0BELL-CVE-2024-22365

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this as Moderate, as this vulnerability needs a non-default configuration in order to be explored by a malicious user. Also, the attack is local and the Denial of Service happens to a single user.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8pam-0:1.3.1-33.el8Fixed 2024-05-22RHSA-2024:3163
Red Hat Enterprise Linux 9pam-0:1.5.1-19.el9Fixed 2024-04-30RHSA-2024:2438
Red Hat Enterprise Linux 7pamOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-22365.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-134-16Siemens Ruggedcom Rox2026-05-12Critical ManufacturingRUGGEDCOM ROX MX5000, RUGGEDCOM ROX MX5000RE, RUGGEDCOM ROX RX1400 and 8 morenone listed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
  • CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High
  • CAPEC-61 Session Fixation Likelihood: Medium · Severity: High
  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-196 Session Credential Falsification through Forging Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON