Skip to content
OpenAdvisories
High ALAS2-2023-1985 1 CVE

Important: sudo security update (Amazon Linux 2)

Published Mar 2, 2023 · Updated Mar 7, 2023

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-22809: In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.

Fixed packages 3

ReleasePackageFixed in
Amazon Linux · 2 sudo 0:1.8.23-10.amzn2.3.1
Amazon Linux · 2 sudo-debuginfo 0:1.8.23-10.amzn2.3.1
Amazon Linux · 2 sudo-devel 0:1.8.23-10.amzn2.3.1

Vulnerabilities 1

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-22809.html