Important: sudo security update

sudo Updated 02 Oct 2025

Summary

23/01/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:0284: Important: sudo security update. Affects sudo versions < 1.8.29-8.el8_7.1. Fixed in 1.8.29-8.el8_7.1. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The sudo package is a utility that allows system administrators to grant certain users the ability to execute privileged commands without logging in as root. It is commonly used for system management purposes. The vulnerability in question allows for arbitrary file write with the privileges of the RunAs user.

Vulnerability Detail

The vulnerability (CVE-2023-22809) in the sudo package enables an attacker to write arbitrary files with the privileges of the RunAs user. This can lead to unauthorized modification of critical system files, potentially resulting in a complete compromise of the affected system. The impact of this vulnerability is significant, as it allows an attacker to escalate their privileges and execute malicious commands with elevated permissions.

How To Fix

Minimum fixed version

1.8.29-8.el8_7.1

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

There is no known workaround for this vulnerability at the moment. It is crucial to apply the security update as soon as possible to mitigate the risk of exploitation.

Conclusion

The sudo package is vulnerable to an arbitrary file write vulnerability (CVE-2023-22809) that allows an attacker to write files with the privileges of the RunAs user. To mitigate this risk, it is crucial to update the sudo package to version 1.8.29-8.el8_7.1 or later. Applying the security update will help protect the system from potential compromise. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for sudo →

Share this vulnerability

FAQ

The sudo package allows system administrators to grant certain users the ability to execute privileged commands without logging in as root. It is commonly used for system management purposes.

The vulnerability allows an attacker to write arbitrary files with the privileges of the RunAs user. This can lead to unauthorized modification of critical system files and potential compromise of the affected system.

No, there is currently no known workaround for this vulnerability. It is recommended to apply the security update as soon as possible.

To update the sudo package, you can use the package manager update command specific to your operating system. For example, on AlmaLinux 8, you can use the following command: sudo dnf update sudo.

You can find more information about this vulnerability, including the impact, CVSS score, and related details, on the CVE page: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22809.

Related vulnerabilities

Recent vulnerabilities recorded for sudo.

How To Fix

Minimum fixed version

1.8.29-8.el8_7.1

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