Advisory

GHSA-772j-xvf9-qpf5

Also known as: CVE-2021-3702, PYSEC-2022-43068

Summary

ansible-runner vulnerable to Race Condition

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-08-24 00:00 UTC
Modified
2024-11-26 16:24 UTC

Affected packages and fixes

ansible-runner

PyPI · All systems

Affected

  • introduced 2.0.0, fixed 2.1.0 (ecosystem)

Fixed versions

2.1.0

Fix

  • Fixed version 2.1.0
    pip install --upgrade ansible-runner==2.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences