Advisory

PYSEC-2022-43067

Also known as: CVE-2021-3701, GHSA-wwch-cmqr-hhrm

Summary

The record has no summary.

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: CVSS v3 score 6.6, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Dates

Published
2022-08-23 16:15 UTC
Modified
2024-11-25 22:42 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: PyPA Advisory Database · CC BY 4.0

Sources & licences