Vulnerability · Published Nov 7, 2024 · Assigned by redhat
CVE-2024-10963Pam: improper hostname interpretation in pam_access leads to access control bypass
High 7.4
In plain English
A high-severity improper authentication in pam. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in pam_access, where certain rules in its configuration file are mistakenly treated as hostnames. This vulnerability allows attackers to trick the system by pretending to be a trusted hostname, gaining unauthorized access. This issue poses a risk for systems that rely on this feature to control who can access certain services or terminals.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | pam | 1.3.1-36.el8_10 | ALSA-2024:10379 |
| AlmaLinux:9 | pam | 1.5.1-22.el9_5 | ALSA-2024:10244 |
| AlmaLinux:8 | pam-devel | 1.3.1-36.el8_10 | ALSA-2024:10379 |
| AlmaLinux:9 | pam-devel | 1.5.1-22.el9_5 | ALSA-2024:10244 |
| AlmaLinux:9 | pam-docs | 1.5.1-22.el9_5 | ALSA-2024:10244 |
| Debian:13 | pam | 1.7.0-5 | DEBIAN-CVE-2024-10963 |
| Debian:14 | pam | 1.7.0-5 | DEBIAN-CVE-2024-10963 |
| Rocky Linux:8 | pam | 0:1.3.1-36.el8_10 | RLSA-2024:10379 |
| Rocky Linux:9 | pam | 0:1.5.1-22.el9_5 | RLSA-2024:10244 |
| Ubuntu:24.04:LTS | pam | 1.5.3-5ubuntu5.5 | USN-7761-1 |
| Ubuntu:24.04:LTS | pam | 1.5.3-5ubuntu5.5 | UBUNTU-CVE-2024-10963 |
Affected products (as reported)
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- RHSA-2024:10232 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:10244 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:10379 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:10518 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:10528 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:10852 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6122 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-10963 vdb-entry, x_refsource_REDHAT
- RHBZ#2324291 issue-tracking, x_refsource_REDHAT
- https://github.com/linux-pam/linux-pam/issues/834
- https://github.com/linux-pam/linux-pam/pull/835