VDB

ALPINE-CVE-2021-23239

ALPINE-CVE-2021-23239 PUBLISHED CVSS 2.5 LOW

Record from OSV · Published January 12, 2021

The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
sudoAlpine:v3.111.9.5p2-r0, 1.9.5
sudoAlpine:v3.131.9.5-r0
sudoAlpine:v3.151.9.5-r0
sudoAlpine:v3.141.9.5-r0
sudoAlpine:v3.101.9.5p2-r0, 1.9.5
sudoAlpine:v3.121.9.5-r0

Risk scores

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

Affected products

VendorProductVersions
Alpine:v3.11sudo0, 1.9.0, 1.8.16-r0
Alpine:v3.13sudo1.8.0-r1, 1.9.0, 1.8.1-r0
Alpine:v3.15sudo1.7.2_p4-r0, 1.7.4_p2-r0, 1.7.4_p3-r0
Alpine:v3.14sudo0, 1.6.9_p17-r1, 1.7.0-r0
Alpine:v3.10sudo1.9.0, 1.8.18-r0, 1.8.17-r0
Alpine:v3.12sudo1.7.2-r0, 1.7.1-r0, 1.9.0

Timeline

  • Jan 12, 2021 CVE Published
  • Jul 8, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2021-23239
vulnetix vdb fixes ALPINE-CVE-2021-23239

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2021-23239/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›