Vulnerability · Published Aug 23, 2022 · Assigned by redhat

CVE-2021-3701

Medium 6.6

In plain English

A medium-severity incorrect default permissions in ansible-runner. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.6Medium
Exploit odds (30 days)0.3%top 78.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ansible-runner2.1.1-1DEBIAN-CVE-2021-3701
Debian:13ansible-runner2.1.1-1DEBIAN-CVE-2021-3701
Debian:14ansible-runner2.1.1-1DEBIAN-CVE-2021-3701
PyPIansible-runner2.1.0GHSA-wwch-cmqr-hhrm
PyPIansible-runner2.1.0PYSEC-2022-43067

Affected products (as reported)

VendorProductVersions
n/a ansible-runner Affects ansible-runner 2.0

Weakness: CWE-276

References