VDB

ALPINE-CVE-2020-1733

ALPINE-CVE-2020-1733 PUBLISHED CVSS 5 MEDIUM

Record from OSV · Published March 11, 2020

A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with "umask 77 && mkdir -p <dir>"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.

Fixed versions

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

PackageEcosystemFixed in
ansibleAlpine:v3.122.9.7-r0
ansibleAlpine:v3.92.7.17-r0
ansible-baseAlpine:v3.142.9.7-r0
ansibleAlpine:v3.102.8.11-r0
ansibleAlpine:v3.112.9.7-r0
ansible-baseAlpine:v3.132.9.7-r0

Risk scores

CVSS 3.1
5
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L

Affected products

VendorProductVersions
Alpine:v3.12ansible0.8-r0, 0.9-r0, 1.0-r0
Alpine:v3.9ansible2.7.0-r1, 2.8.0, 1.2.3-r0
Alpine:v3.14ansible-base2.8.3-r0, 2.8.6-r1, 2.8.6-r2
Alpine:v3.10ansible1.9.2-r1, 1.5.0-r0, 0
Alpine:v3.11ansible2.8.1-r0, 0.3.1-r0, 0.7-r0
Alpine:v3.13ansible-base2.2.0.0-r0, 1.5.5-r0, 2.6.0-r0

Timeline

  • Mar 11, 2020 CVE Published
  • Aug 5, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2020-1733
vulnetix vdb fixes ALPINE-CVE-2020-1733

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-2020-1733/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 ›