Vulnerabilities / CVE-2022-28321

critical

CVE-2022-28321

pam: authentication bypass for SSH logins

Published Modified CWE 287
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Ubuntu (low).

Description

The Linux-PAM package before 1.5.2-6.1 for openSUSE Tumbleweed allows authentication bypass for SSH logins. The pam_access.so module doesn't correctly restrict login if a user tries to connect from an IP address that is not resolvable via DNS. In such conditions, a user with denied access to a machine can still get access. NOTE: the relevance of this issue is largely limited to openSUSE Tumbleweed and openSUSE Factory; it does not affect Linux-PAM upstream.

Affected packages and fixed versions

SourcePackageFixed in
root.io ubuntu 20.04rootio-pam1.3.1-5ubuntu4.4
root.io ubuntu 22.04rootio-pam1.4.0-11ubuntu2.1
ubuntu 14.04-ESMpam1.1.8-1ubuntu2.2+esm1
ubuntu 16.04-ESMpam1.1.8-3.2ubuntu2.3+esm2
ubuntu 18.04pam1.1.8-3.6ubuntu2.18.04.4
ubuntu 18.04-ESMpam1.1.8-3.6ubuntu2.18.04.4
ubuntu 20.04pam1.3.1-5ubuntu4.4
ubuntu 20.04-ESMpam1.3.1-5ubuntu4.4
ubuntu 22.04pam1.4.0-11ubuntu2.1
ubuntu 22.10pam1.5.2-2ubuntu1.1

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.