Описание
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.
Релиз | Статус | Примечание |
---|---|---|
bionic | released | 1.8.21p2-3ubuntu1.5 |
devel | released | 1.9.11p3-1ubuntu3 |
esm-infra-legacy/trusty | not-affected | 1.8.9p5-1ubuntu1.5+esm7 |
esm-infra/bionic | not-affected | 1.8.21p2-3ubuntu1.5 |
esm-infra/focal | not-affected | 1.8.31-1ubuntu1.4 |
esm-infra/xenial | released | 1.8.16-0ubuntu1.10+esm1 |
focal | released | 1.8.31-1ubuntu1.4 |
jammy | released | 1.9.9-1ubuntu2.2 |
kinetic | released | 1.9.11p3-1ubuntu1.1 |
lunar | released | 1.9.11p3-1ubuntu3 |
Показывать по
EPSS
7.8 High
CVSS3
Связанные уязвимости
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.
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.
In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extr ...
EPSS
7.8 High
CVSS3