Live threats

All CVEs / Redhat

CVE-2021-3701Redhat Ansible Runner

Medium 6.6

Priority
40
CVSS 3.1
6.6
EPSS
0.3%
probability of exploitation in 30 days · percentile 14
Auth required
Yes
Published
Aug 23, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-276
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible Runner.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible-runner ≥ 2.0.0 < 2.1.0 2.1.0 pip install "ansible-runner>=2.1.0"
PyPI ansible-runner ≥ 2.0.0 < 2.1.0 2.1.0 pip install "ansible-runner>=2.1.0"

Per OSV / GitHub Advisories (GHSA-wwch-cmqr-hhrm, PYSEC-2022-43067). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatansible_runner2.0.0

Official sources

References

Links published by the sources. Open them with care.