CVEfocus › CVE database › CVE-2024-10963

CVE-2024-10963Pam: improper hostname interpretation in pam_access leads to access control bypass

CVSS 7.4 HighEPSS 1.2% (higher than 68% of CVEs)Published 2024-11-07Updated 2026-11-23Assigner: redhat

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.

CWE-287

What to do

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

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

15Fixed
8Not affected

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 24.04pamFixed1.5.3-5ubuntu5.5UBUNTU-CVE-2024-10963
Ubuntu 22.04pamNot affected
vulnerable_code_not_present
Debian 14pamFixed1.7.0-5DEBIAN-CVE-2024-10963
Debian 13pamFixed1.7.0-5DEBIAN-CVE-2024-10963
Red Hat Enterprise Linux 10pamNot affected
Red Hat Enterprise Linux 10pam-develNot affected
Red Hat Enterprise Linux 10pam-libsNot affected
Red Hat Enterprise Linux 9pamFixed0:1.5.1-22.el9_5RHSA-2024:10244
Red Hat Enterprise Linux 9pam-develFixed0:1.5.1-22.el9_5RHSA-2024:10244
Red Hat Enterprise Linux 9pam-docsFixed0:1.5.1-22.el9_5RHSA-2024:10244
Red Hat Enterprise Linux 8pamFixed0:1.3.1-36.el8_10RHSA-2024:10379
Red Hat Enterprise Linux 8pam-develFixed0:1.3.1-36.el8_10RHSA-2024:10379
Red Hat Enterprise Linux 7pamNot affected
Red Hat Enterprise Linux 7pam-develNot affected
Red Hat Enterprise Linux 6pamNot affected
Red Hat Enterprise Linux 6pam-develNot affected
AlmaLinux 9pamFixed1.5.1-22.el9_5ALSA-2024:10244
AlmaLinux 9pam-develFixed1.5.1-22.el9_5ALSA-2024:10244
AlmaLinux 9pam-docsFixed1.5.1-22.el9_5ALSA-2024:10244
AlmaLinux 8pamFixed1.3.1-36.el8_10ALSA-2024:10379
AlmaLinux 8pam-develFixed1.3.1-36.el8_10ALSA-2024:10379
Rocky Linux 9pamFixed0:1.5.1-22.el9_5RLSA-2024:10244
Rocky Linux 8pamFixed0:1.3.1-36.el8_10RLSA-2024:10379

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To reduce the risk, administrators should ensure that no DNS hostname matches local TTY or service names used in pam_access. Additionally, implement DNSSEC to prevent spoofing of DNS responses. For stronger protection, consider reconfiguring pam_access to only accept fully qualified domain names (FQDNs) in access.conf

Vendor advisories:

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.