Alpine: multiple sudo packages: security update to 1.9.12_p2-r0

high Tenable Cloud Security Plugin ID 426531

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

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

See Also

https://security.alpinelinux.org/vuln/CVE-2023-22809

Plugin Details

Severity: High

ID: 426531

Version: Revision 1.9

Type: Local

Published: 5/16/2025

Updated: 7/7/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Critical

Score: 9.5

Percentile: 99.86

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-22809

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 1/18/2023

Exploitable With

Metasploit (Sudoedit Extra Arguments Priv Esc)

Reference Information

CVE: CVE-2023-22809