sudo bug fix and enhancement update - ALBA-2022:2080

sudo Updated 02 Oct 2025

Summary

10/05/2022
N/A
Yes i
Unrated
Not published

ALBA-2022:2080: sudo bug fix and enhancement update. Affects sudo versions < 1.8.29-8.el8. Fixed in 1.8.29-8.el8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The sudo package is a widely used command-line utility that allows users to run programs with the security privileges of another user. It is commonly used in Unix-like operating systems to grant limited root access to non-root users. The package provides a secure way to delegate administrative tasks to trusted users. However, a vulnerability has been discovered in the sudo package that could potentially allow unauthorized users to gain elevated privileges and execute arbitrary commands.

Vulnerability Detail

The vulnerability in the sudo package (ALBA-2022:2080) is a security issue that could be exploited by attackers to escalate their privileges and execute arbitrary commands. The vulnerability arises from a flaw in the sudo code that mishandles certain user inputs. By crafting a specially crafted command, an attacker could bypass intended restrictions and execute arbitrary commands with elevated privileges. This could lead to unauthorized access, data breaches, and further compromise of the affected system.

How To Fix

Minimum fixed version

1.8.29-8.el8

This is the first release that contains the fix.

sudo dnf update sudo

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to the sudo package by modifying the sudoers configuration file. By carefully reviewing and updating the sudoers file, administrators can limit the privileges granted to users and mitigate the risk of exploitation. However, this workaround may not fully address the underlying vulnerability and should be considered a temporary measure until the package is updated.

Conclusion

The sudo package has been found to contain a vulnerability that could allow unauthorized users to gain elevated privileges and execute arbitrary commands. It is crucial to update the package to the latest version and apply any available patches or fixes. Additionally, restricting access to the sudo package through the sudoers configuration file can provide temporary mitigation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for sudo →

Share this vulnerability

FAQ

The sudo package is a command-line utility that allows users to run programs with the security privileges of another user. It is commonly used to delegate administrative tasks to trusted users.

The vulnerability in the sudo package could allow unauthorized users to gain elevated privileges and execute arbitrary commands. This could lead to unauthorized access, data breaches, and further compromise of the affected system.

To fix the vulnerability, it is recommended to update the sudo package to version 1.8.29-8.el8 or later. This update includes bug fixes and enhancements that address the security vulnerability.

As a temporary workaround, users can restrict access to the sudo package by modifying the sudoers configuration file. However, this workaround may not fully address the underlying vulnerability and should be considered a temporary measure until the package is updated.

For more detailed information on the vulnerability, including the technical aspects and impact, refer to the AlmaLinux Release Notes linked in the References section.

Related vulnerabilities

Recent vulnerabilities recorded for sudo.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.8.29-8.el8

This is the first release that contains the fix.

sudo dnf update sudo

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback