Important: sudo security update
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.