CVE-2022-28321
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.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | pam | Fixed | 1.4.0-11ubuntu2.1 | UBUNTU-CVE-2022-28321 |
| Ubuntu 20.04 | pam | Fixed | 1.3.1-5ubuntu4.4 | UBUNTU-CVE-2022-28321 |
| Ubuntu 18.04 | pam | Fixed | 1.1.8-3.6ubuntu2.18.04.4 | UBUNTU-CVE-2022-28321 |
| Ubuntu 16.04 | pam | Fix pending | 1.1.8-3.2ubuntu2.3+esm2 (Ubuntu Pro) | UBUNTU-CVE-2022-28321 |
| Ubuntu 14.04 | pam | Fix pending | 1.1.8-1ubuntu2.2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-28321 |
| Red Hat Enterprise Linux 8 | pam | Not affected | ||
| Red Hat Enterprise Linux 8 | pam-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | pam | Not affected | ||
| Red Hat Enterprise Linux 7 | pam-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | pam | Not affected | ||
| Red Hat Enterprise Linux 6 | pam-devel | Not affected |
References
- http://download.opensuse.org/source/distribution/openSUSE-current/repo/oss/src/
- https://www.suse.com/security/cve/CVE-2022-28321.html
- https://bugzilla.suse.com/show_bug.cgi?id=1197654
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.