Known exploited
CVE-2021-3156 on Debian 12: affected packages and fixed versions
1 package on Debian 12 is 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.5p1-1.1 |
Not rated | none listed |
Check a host
Show the installed version and compare with the table above:
dpkg-query -W -f='${Package} ${Version}\n' sudo
Update to the fixed build:
sudo apt-get update && sudo apt-get install --only-upgrade sudo
The fixed version may look older than the upstream release that fixed the bug. Debian 12 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 13
- RHEL 8
- Rocky Linux 8
- AlmaLinux 8
- Oracle Linux 8
- Amazon Linux 2
- SLES 15 SP6
- 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.