CVEfocus › CVE database › CVE-2024-22365

CVE-2024-22365

CVSS 5.5 MediumEPSS 0.4% (higher than 24% of CVEs)Published 2024-02-06Updated 2026-10-15Assigner: mitre

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.

CWE-664

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
4Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04pamFixed1.4.0-11ubuntu2.4UBUNTU-CVE-2024-22365
Ubuntu 20.04pamFixed1.3.1-5ubuntu4.7UBUNTU-CVE-2024-22365
Ubuntu 18.04pamFix pending1.1.8-3.6ubuntu2.18.04.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-22365
Ubuntu 16.04pamFix pending1.1.8-3.2ubuntu2.3+esm5 (Ubuntu Pro)UBUNTU-CVE-2024-22365
Ubuntu 14.04pamFix pending1.1.8-1ubuntu2.2+esm4 (Ubuntu Pro)UBUNTU-CVE-2024-22365
Debian 14pamFixed1.5.3-4DEBIAN-CVE-2024-22365
Debian 13pamFixed1.5.3-4DEBIAN-CVE-2024-22365
Debian 12pamFix pendingDEBIAN-CVE-2024-22365
Red Hat Enterprise Linux 9pamFixed0:1.5.1-19.el9RHSA-2024:2438
Red Hat Enterprise Linux 9pam-develFixed0:1.5.1-19.el9RHSA-2024:2438
Red Hat Enterprise Linux 9pam-docsFixed0:1.5.1-19.el9RHSA-2024:2438
Red Hat Enterprise Linux 8pamFixed0:1.3.1-33.el8RHSA-2024:3163
Red Hat Enterprise Linux 8pam-develFixed0:1.3.1-33.el8RHSA-2024:3163
Red Hat Enterprise Linux 7pamWill not fix
Out of support scope
Red Hat Enterprise Linux 7pam-develWill not fix
Out of support scope
AlmaLinux 9pamFixed1.5.1-19.el9ALSA-2024:2438
AlmaLinux 9pam-develFixed1.5.1-19.el9ALSA-2024:2438
AlmaLinux 9pam-docsFixed1.5.1-19.el9ALSA-2024:2438
AlmaLinux 8pamFixed1.3.1-33.el8ALSA-2024:3163
AlmaLinux 8pam-develFixed1.3.1-33.el8ALSA-2024:3163
Rocky Linux 8pamFixed0:1.3.1-33.el8RLSA-2024:3163
Alpine Linux 3.24linux-pamFixed1.6.0-r0ALPINE-CVE-2024-22365
Alpine Linux 3.23linux-pamFixed1.6.0-r0ALPINE-CVE-2024-22365
Alpine Linux 3.22linux-pamFixed1.6.0-r0ALPINE-CVE-2024-22365
Alpine Linux 3.21linux-pamFixed1.6.0-r0ALPINE-CVE-2024-22365
Alpine Linux 3.20linux-pamFixed1.6.0-r0ALPINE-CVE-2024-22365

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.