Sudo update for Centos

how does one check and update sudo, I saw a command:
dnf -y update sudo
but that doesn;t work.

Operating system CentOS Linux 7.9.2009
Virtualmin version


It comes with regular distro upgrades.

If you want to make sure that you have latest sudo with severe CVE-2021-3156 patched, just make sure that sudo version 1.8.23-10.el7_9.1 is installed, which includes this patch.

You already may have this version installed already.


yum list installed | grep sudo

… if the output is:

sudo.x86_64                        1.8.23-10.el7_9.1       @updates 

… it means that you have patched version, according to the change log:

# yum changelog sudo
sudo-1.8.23-10.el7_9.1.x86_64            updates
* Wed Jan 20 15:00:00 2021 Radovan Sroka <> - 1.8.23-10.1
- CVE-2021-3156
Resolves: rhbz#1917729

thanks, yes indeed I have that.
I just received this from my dedicater server supplier it refers to a version 1.9.5p which confused me

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.