CVE-2021-3533: PYSEC-2021-126 - A flaw was found in Ansible if an ansible user sets ANSIBLE_ASYNC_DIR to a subdirectory of a world…

CVE-2021-3533 · Severity: info · Published 2021-06-09

A flaw was found in Ansible if an ansible user sets ANSIBLE_ASYNC_DIR to a subdirectory of a world writable directory. When this occurs, there is a race condition on the managed machine. A malicious, non-privileged account on the remote machine can exploit the race condition to access the async result data. This flaw affects Ansible Tower 3.7 and Ansible Automation Platform 1.2.

Technologies: ansible (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-3533 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-3533 being exploited in the wild.
How severe is CVE-2021-3533?
Informational severity, published 9 June 2021.
Which products and versions are affected?
ansible (PyPI) ECOSYSTEM:introduced=0,fixed=3.0.0.
Is there a fix for CVE-2021-3533?
Yes. ansible (PyPI): upgrade to 3.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-3533?
Check whether you run ansible (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ansible (PyPI): upgrade to 3.0.0 or later
    pip install "ansible>=3.0.0"

Affected products

  • ansible (PyPI) ECOSYSTEM:introduced=0,fixed=3.0.0

Identifiers

  • CVE-2021-3533
  • PYSEC-2021-126

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.