CVE-2021-3702Redhat Ansible Runner
Medium 6.3
Follow: this CVE · Redhat · Redhat Ansible Runner We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.3
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 6
- Auth required
- Yes
- Published
- Aug 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-362
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
A race condition flaw was found in ansible-runner, where an attacker could watch for rapid creation and deletion of a temporary directory, substitute their directory at that name, and then have access to ansible-runner's private_data_dir the next time ansible-runner made use of the private_data_dir. The highest Threat out of this flaw is to integrity and confidentiality.
What to do
- Apply the vendor's security update for Ansible Runner.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible-runner |
≥ 2.0.0 < 2.1.0 |
2.1.0 |
pip install "ansible-runner>=2.1.0" |
| PyPI | ansible-runner |
≥ 2.0.0 < 2.1.0 |
2.1.0 |
pip install "ansible-runner>=2.1.0" |
Per OSV / GitHub Advisories (GHSA-772j-xvf9-qpf5, PYSEC-2022-43068). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible_runner | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Patch Vendor Advisory
- github.com Patch Third Party Advisory