CVE-2021-3702

ansible-runner: Race condition with temporary files in tempfile.TemporaryDirectory()

Published Aug 23, 2022 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0005 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.
Github GHSA Github GHSA GHSA-772j-xvf9-qpf5 ansible-runner vulnerable to Race Condition
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 5:01 PM
Reserved
Aug 12, 2021, 12:00 AM
Status
Modified
Published
Aug 23, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:05 AM
Severity
Moderate
Public date
Jun 26, 2021, 12:00 AM