Risk | Low |
Patch available | YES |
Number of vulnerabilities | 2 |
CVE-ID | CVE-2022-43995 CVE-2023-22809 |
CWE-ID | CWE-787 CWE-20 |
Exploitation vector | Local |
Public exploit | Public exploit code for vulnerability #2 is available. |
Vulnerable software |
Amazon Linux AMI Operating systems & Components / Operating system sudo Operating systems & Components / Operating system package or component |
Vendor | Amazon Web Services |
Security Bulletin
This security bulletin contains information about 2 vulnerabilities.
EUVDB-ID: #VU68973
Risk: Low
CVSSv3.1: 3.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L/E:U/RL:O/RC:C]
CVE-ID: CVE-2022-43995
CWE-ID:
CWE-787 - Out-of-bounds write
Exploit availability: No
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a boundary condition within plugins/sudoers/auth/passwd.c when Sudo is configured to use the crypt() password backend (e.g. when passwd authentication is enabled). A local user with access to Sudo can enter a password of 8 characters or fewer to trigger a heap-based buffer over-read and gain access to sensitive information.
Update the affected packages:
aarch64:Vulnerable software versions
sudo-logsrvd-debuginfo-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-devel-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-python-plugin-debuginfo-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-debuginfo-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-python-plugin-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-logsrvd-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-debugsource-1.9.12-1.p2.amzn2023.0.2.aarch64
src:
sudo-1.9.12-1.p2.amzn2023.0.2.src
x86_64:
sudo-python-plugin-debuginfo-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-logsrvd-debuginfo-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-debuginfo-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-python-plugin-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-devel-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-logsrvd-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-debugsource-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-1.9.12-1.p2.amzn2023.0.2.x86_64
Amazon Linux AMI: All versions
sudo: before 1.8.23-10.59
CPE2.3http://alas.aws.amazon.com/AL2023/ALAS-2023-106.html
Q & A
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.
EUVDB-ID: #VU71332
Risk: Low
CVSSv3.1: 7.2 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C]
CVE-ID: CVE-2023-22809
CWE-ID:
CWE-20 - Improper input validation
Exploit availability: Yes
DescriptionThe vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists within the sudoedit (aka -e) feature due to insufficient validation of user-supplied input passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR). 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. A local user can append arbitrary entries to the list of files to process and escalate privileges on the system.
Update the affected packages:
aarch64:Vulnerable software versions
sudo-logsrvd-debuginfo-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-devel-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-python-plugin-debuginfo-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-debuginfo-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-python-plugin-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-logsrvd-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-1.9.12-1.p2.amzn2023.0.2.aarch64
sudo-debugsource-1.9.12-1.p2.amzn2023.0.2.aarch64
src:
sudo-1.9.12-1.p2.amzn2023.0.2.src
x86_64:
sudo-python-plugin-debuginfo-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-logsrvd-debuginfo-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-debuginfo-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-python-plugin-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-devel-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-logsrvd-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-debugsource-1.9.12-1.p2.amzn2023.0.2.x86_64
sudo-1.9.12-1.p2.amzn2023.0.2.x86_64
Amazon Linux AMI: All versions
sudo: before 1.8.23-10.59
CPE2.3http://alas.aws.amazon.com/AL2023/ALAS-2023-106.html
Q & A
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.