CVE-2021-3702
publishedansible-runner: Race condition with temporary files in tempfile.TemporaryDirectory()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | ansible-runnerAffects ansible-runner 2.0 | Affected | Not stated | redhat |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | ansible-runner | Affects ansible-runner 2.0 (affected) | redhat · cna |
Weaknesses
1- CWE-362 CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
3Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 460aeb460d3e477b955072ab4636db854446bd08ae4b410849bd4d522f4dd924
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record