MGASA-2023-0025

Source
https://advisories.mageia.org/MGASA-2023-0025.html
Import Source
https://advisories.mageia.org/MGASA-2023-0025.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2023-0025
Related
Published
2023-01-24T07:58:25Z
Modified
2023-01-24T06:36:34Z
Summary
Updated sudo packages fix security vulnerability
Details

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-2023-22809)

References
Credits

Affected packages

Mageia:8 / sudo

Package

Name
sudo
Purl
pkg:rpm/mageia/sudo?distro=mageia-8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.5p2-2.2.mga8

Ecosystem specific

{
    "section": "core"
}