Skip to content
pkgseek
Back to CVE search

CVE-2023-22809

high · 7.8

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.

First indexed 1/18/2023View on NVD

Advisory Facts

Markdown

CVE-2023-22809 is rated HIGH (7.8), with 8 indexed affected package builds across 4 distributions.

Severity / Score
HIGH (7.8)
Affected builds
8
Affected distros
4
Distros with fixed_in
Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2023-22809?locale=en

Distribution-aware status

4
Distributions
8
Package/release records
6
Vendor advisories
8
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

8 affected package/release combinations
sudo
3x86_64
1.8.29-8.al8Fixed in 1.8.29-8.al8.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade sudo
sudo
8x86_64
1.8.29-8.el8Fixed in 1.8.29-8.el8_7.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade sudo
sudo
9x86_64
1.9.5p2-7.el9Fixed in 1.9.5p2-7.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade sudo
sudo-python-plugin
9x86_64
1.9.5p2-7.el9Fixed in 1.9.5p2-7.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade sudo-python-plugin
sudo
9.8x86_64
1.9.5p2-7.el9Fixed in 1.9.5p2-7.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade sudo
sudo-python-plugin
9.8x86_64
1.9.5p2-7.el9Fixed in 1.9.5p2-7.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade sudo-python-plugin

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.