VDB

ALPINE-CVE-2021-3156

ALPINE-CVE-2021-3156 PUBLISHED CVSS 7.800000190734863 HIGH

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.

Risk Scores

CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.15sudo1.8.2, 1.9.5, 1.9.5-r0
Alpine:v3.14sudo*, 1.8.1-r0, 1.8.10-r0
Alpine:v3.11sudo1.8.19_p1-r0, 1.8.19_p2-r0, 1.8.1p1-r0
Alpine:v3.12sudo1.8.1-r0, 0, 1.6.9_p17-r1
Alpine:v3.13sudo1.8.2, 1.8.13-r0, 1.8.14_p3-r0
Alpine:v3.10sudo1.8.9, 1.8.9, 1.8.8-r0

Timeline

  • Jan 26, 2021 CVE Published
  • Feb 13, 2025 PoC Published
  • Apr 30, 2026 Distribution Patch
  • Jul 8, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›