Summary
Package updates are available for Amazon Linux 2023 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. CVE-2022-43995: Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can result in a heap-based buffer over-read. This can be triggered by arbitrary local users with access to Sudo by entering a password of seven characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | sudo | 0:1.9.12-1.p2.amzn2023.0.2 |
| Amazon Linux · 2023 | sudo-debuginfo | 0:1.9.12-1.p2.amzn2023.0.2 |
| Amazon Linux · 2023 | sudo-debugsource | 0:1.9.12-1.p2.amzn2023.0.2 |
| Amazon Linux · 2023 | sudo-devel | 0:1.9.12-1.p2.amzn2023.0.2 |
| Amazon Linux · 2023 | sudo-logsrvd | 0:1.9.12-1.p2.amzn2023.0.2 |
| Amazon Linux · 2023 | sudo-logsrvd-debuginfo | 0:1.9.12-1.p2.amzn2023.0.2 |
| Amazon Linux · 2023 | sudo-python-plugin | 0:1.9.12-1.p2.amzn2023.0.2 |
| Amazon Linux · 2023 | sudo-python-plugin-debuginfo | 0:1.9.12-1.p2.amzn2023.0.2 |
Vulnerabilities 2
-
High 7.8
In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environme…
-
High 7.1
Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bou…