Advisory

GHSA-wwch-cmqr-hhrm

Also known as: CVE-2021-3701, PYSEC-2022-43067

Summary

ansible-runner has default temporary files written to world R/W locations

Details

A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity.

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