CVE-2021-3701Redhat Ansible Runner
Medium 6.6
Follow: this CVE · Redhat · Redhat Ansible Runner We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ansible Runner.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible_runner | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Patch Vendor Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory