Known exploited
CVE-2021-3156 on SLES 15 SP6: affected packages and fixed versions
6 packages on SLES 15 SP6 are affected by CVE-2021-3156 (Sudo Heap-Based Buffer Overflow Vulnerability). A host is fixed once the package is at the version below or newer.
This vulnerability is known to be exploited. CISA added it to its catalog on April 6, 2022, with a remediation date of April 27, 2022 for US federal agencies.
Affected packages
| Package | Fixed in | Severity | Advisory |
|---|---|---|---|
sudo |
1.9.15p5-150600.1.2 |
Important | none listed |
sudo-devel |
1.9.15p5-150600.1.2 |
Important | none listed |
sudo-plugin-python |
1.9.15p5-150600.1.2 |
Important | none listed |
sudo-policy-sudo-auth-self |
1.9.15p5-150600.1.2 |
Important | none listed |
sudo-policy-wheel-auth-self |
1.9.15p5-150600.1.2 |
Important | none listed |
system-group-sudo |
1.9.15p5-150600.1.2 |
Important | none listed |
Check a host
Show the installed versions and compare with the table above:
rpm -q sudo sudo-devel sudo-plugin-python sudo-policy-sudo-auth-self
Update to the fixed build:
sudo zypper refresh && sudo zypper update sudo sudo-devel sudo-plugin-python sudo-policy-sudo-auth-self
The fixed version may look older than the upstream release that fixed the bug. SLES 15 SP6 carries the fix in the version it already ships.
What it is
The sudo packages contain the sudo utility which allows system administrators to provide certain users with the permission to execute privileged commands, which are used for system management purposes, without having to log in as root. Security Fix(es): * sudo: Heap buffer overflow in argument parsing (CVE-2021-3156) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the Refere...
CVE-2021-3156 on other releases
- Ubuntu 20.04 LTS
- Debian 11
- Debian 12
- Debian 13
- RHEL 8
- Rocky Linux 8
- AlmaLinux 8
- Oracle Linux 8
- Amazon Linux 2
- SLES 15 SP7
- SLES 16
- Arch Linux
Know which of your hosts are affected
SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.