Vulnerability · Published Feb 6, 2024 · Assigned by mitre
CVE-2024-22365
Medium 5.5
In plain English
A medium-severity security flaw in the pam package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.5%top 60.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | pam | 1.3.1-33.el8 | ALSA-2024:3163 |
| AlmaLinux:9 | pam | 1.5.1-19.el9 | ALSA-2024:2438 |
| AlmaLinux:8 | pam-devel | 1.3.1-33.el8 | ALSA-2024:3163 |
| AlmaLinux:9 | pam-devel | 1.5.1-19.el9 | ALSA-2024:2438 |
| AlmaLinux:9 | pam-docs | 1.5.1-19.el9 | ALSA-2024:2438 |
| Alpine:v3.20 | linux-pam | 1.6.0-r0 | ALPINE-CVE-2024-22365 |
| Alpine:v3.21 | linux-pam | 1.6.0-r0 | ALPINE-CVE-2024-22365 |
| Alpine:v3.22 | linux-pam | 1.6.0-r0 | ALPINE-CVE-2024-22365 |
| Alpine:v3.23 | linux-pam | 1.6.0-r0 | ALPINE-CVE-2024-22365 |
| Alpine:v3.24 | linux-pam | 1.6.0-r0 | ALPINE-CVE-2024-22365 |
| Debian:12 | pam | 1.5.2-6+deb12u2 | DEBIAN-CVE-2024-22365 |
| Debian:13 | pam | 1.5.3-4 | DEBIAN-CVE-2024-22365 |
| Debian:14 | pam | 1.5.3-4 | DEBIAN-CVE-2024-22365 |
| Rocky Linux:8 | pam | 0:1.3.1-33.el8 | RLSA-2024:3163 |
| Ubuntu:22.04:LTS | pam | 1.4.0-11ubuntu2.4 | UBUNTU-CVE-2024-22365 |
| Ubuntu:22.04:LTS | pam | 1.4.0-11ubuntu2.4 | USN-6588-1 |
Affected products (as reported)
Weakness: CWE-664 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/linux-pam/linux-pam
- http://www.openwall.com/lists/oss-security/2024/01/18/3
- https://github.com/linux-pam/linux-pam/releases/tag/v1.6.0
- https://github.com/linux-pam/linux-pam/commit/031bb5a5d0d950253b68138b498dc93be69a64cb
- https://lists.debian.org/debian-lts-announce/2025/09/msg00021.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html