7.8
CWE
269
Advisory Published
CVE Published
Updated

CVE-2023-22809

First published: Mon Jan 16 2023(Updated: )

A vulnerability was found in sudo. Exposure in how sudoedit handles user-provided environment variables leads to arbitrary file writing with privileges of the RunAs user (usually root). The prerequisite for exploitation is that the current user must be authorized by the sudoers policy to edit a file using sudoedit.

Credit: CVE-2023-22809 cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
<13.4
13.4
IBM Security Guardium<=11.3
IBM Security Guardium<=11.4
IBM Security Guardium<=11.5
Sudo Project Sudo>=1.8.0<1.9.12
Sudo Project Sudo=1.9.12
Sudo Project Sudo=1.9.12-p1
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Apple macOS<13.4
redhat/sudo<1.9.12
1.9.12
redhat/sudo<0:1.8.6p3-29.el6_10.7
0:1.8.6p3-29.el6_10.7
redhat/sudo<0:1.8.23-10.el7_9.3
0:1.8.23-10.el7_9.3
redhat/sudo<0:1.8.19p2-12.el7_4.3
0:1.8.19p2-12.el7_4.3
redhat/sudo<0:1.8.23-3.el7_6.3
0:1.8.23-3.el7_6.3
redhat/sudo<0:1.8.23-4.el7_7.4
0:1.8.23-4.el7_7.4
redhat/sudo<0:1.8.29-8.el8_7.1
0:1.8.29-8.el8_7.1
redhat/sudo<0:1.8.25p1-8.el8_1.3
0:1.8.25p1-8.el8_1.3
redhat/sudo<0:1.8.29-5.el8_2.2
0:1.8.29-5.el8_2.2
redhat/sudo<0:1.8.29-7.el8_4.2
0:1.8.29-7.el8_4.2
redhat/sudo<0:1.8.29-8.el8_6.1
0:1.8.29-8.el8_6.1
redhat/sudo<0:1.9.5p2-7.el9_1.1
0:1.9.5p2-7.el9_1.1
redhat/sudo<0:1.9.5p2-7.el9_0.2
0:1.9.5p2-7.el9_0.2
debian/sudo<=1.8.27-1+deb10u3
1.8.27-1+deb10u5
1.9.5p2-3+deb11u1
1.9.13p3-1+deb12u1
1.9.14p2-1
1.9.15p2-2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2023-22809?

    CVE-2023-22809 is a vulnerability in the sudo package that allows a local attacker to escalate privileges by appending arbitrary entries to the list of files to process.

  • How severe is CVE-2023-22809?

    CVE-2023-22809 is considered to be a high severity vulnerability with a severity value of 7.

  • How does CVE-2023-22809 affect sudo?

    CVE-2023-22809 affects sudo versions before 1.9.12p2.

  • How can I fix CVE-2023-22809?

    To fix CVE-2023-22809, update sudo to version 1.9.12p2 or later.

  • Where can I find more information about CVE-2023-22809?

    You can find more information about CVE-2023-22809 at the following sources: - [CVE Website](https://www.cve.org/CVERecord?id=CVE-2023-22809) - [NVD Website](https://nvd.nist.gov/vuln/detail/CVE-2023-22809) - [Sudo GitHub](https://github.com/sudo-project/sudo/releases/tag/SUDO_1_9_12p2) - [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2161142) - [Red Hat Advisory](https://access.redhat.com/errata/RHSA-2023:0287)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203