CVE-2021-3702

MEDIUM

ansible-runner >=2.0.0 <2.1.0 - Race Condition in Temporary Directory Handling

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/ansible/ansible-runner/pull/742/commits
Issue Tracking, Patch, Vendor Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=1977965
Vendor Advisory x_refsource_misc
https://access.redhat.com/security/cve/CVE-2021-3702

Scores

CVSS v3 6.3
EPSS 0.0013
EPSS Percentile 31.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Details

CWE
CWE-362
Status published
Products (2)
pypi/ansible-runner 2.0.0 - 2.1.0PyPI
redhat/ansible_runner 2.0.0
Published Aug 23, 2022
Tracked Since Feb 18, 2026