CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Sudo Project

CVE-2023-22809
Sudo Project Sudo vulnerability

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.

Affected products

Sudo, Debian Linux, Fedora, Macos. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Sudo Project Sudo runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Sudo Project products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.