Alpine: multiple sudo packages: security update to 1.8.31-r1

high Tenable Cloud Security Plugin ID 407284

Description

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

- Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which
allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single
backslash character. (CVE-2021-3156)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-3156

Plugin Details

Severity: High

ID: 407284

Version: Revision 1.26

Type: Local

Published: 10/31/2023

Updated: 3/13/2025

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: High

Base Score: 7.2

Temporal Score: 6.3

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

CVSS Score Source: CVE-2021-3156

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/25/2021

CISA Known Exploited Vulnerability Due Dates: 4/27/2022

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (Sudo Heap-Based Buffer Overflow)

Reference Information

CVE: CVE-2021-3156

IAVA: 2021-A-0053