CVE-2021-3702
MEDIUM 6.3CVSS 3.1ansible-runner vulnerable to Race Condition
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.
- Published
- 23 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-362CWE-377
- Also known as
- GHSA-772j-xvf9-qpf5PYSEC-2022-43068
- Sources
- NVDJSONOSV GHSA-772j-xvf9-qpf5JSONOSV PYSEC-2022-43068JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_runnercpe:2.3:a:redhat:ansible_runner:2.0.0:-:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | PyPI | ansible-runner | >= 2.0.0, < 2.1.0 | 2.1.0 |
References
- https://access.redhat.com/security/cve/CVE-2021-3702 · Vendor Advisory, WEB, ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=1977965 · Issue Tracking, Patch, Vendor Advisory, WEB, ADVISORY
- https://github.com/ansible/ansible-runner/pull/742/commits · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3702 · ADVISORY
- https://github.com/ansible/ansible-runner/pull/742 · PACKAGE
- https://github.com/ansible/ansible-runner/commit/93e95a3df9021a38010386d07df121392d249253 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible-runner/PYSEC-2022-43068.yaml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Aug 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Aug 2022)