{"id":"GHSA-772j-xvf9-qpf5","summary":"ansible-runner vulnerable to Race Condition","details":"A race condition flaw was found in ansible-runner, where an attacker could watch for rapid creation and deletion of a temporary directory, substitute their directory at that name, and then have access to ansible-runner's private_data_dir the next time ansible-runner made use of the private_data_dir. The highest Threat out of this flaw is to integrity and confidentiality.","aliases":["CVE-2021-3702","PYSEC-2022-43068"],"modified":"2024-11-26T16:23:18.889149Z","published":"2022-08-24T00:00:29Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-09-01T22:17:50Z","nvd_published_at":"2022-08-23T16:15:00Z","cwe_ids":["CWE-362","CWE-377"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3702"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible-runner/pull/742"},{"type":"WEB","url":"https://github.com/ansible/ansible-runner/pull/742/commits"},{"type":"WEB","url":"https://github.com/ansible/ansible-runner/commit/93e95a3df9021a38010386d07df121392d249253"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3702"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1977965"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-runner/PYSEC-2022-43068.yaml"}],"affected":[{"package":{"name":"ansible-runner","ecosystem":"PyPI","purl":"pkg:pypi/ansible-runner"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.1.0"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1.0.0a1","2.1.0.0a2","2.1.0.0b1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-772j-xvf9-qpf5/GHSA-772j-xvf9-qpf5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}