{"id":"GHSA-wwch-cmqr-hhrm","summary":"ansible-runner has default temporary files written to world R/W locations","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.","aliases":["CVE-2021-3701","PYSEC-2022-43067"],"modified":"2024-11-26T16:24:13.436748Z","published":"2022-08-24T00:00:29Z","database_specific":{"github_reviewed_at":"2022-09-01T22:18:53Z","nvd_published_at":"2022-08-23T16:15:00Z","cwe_ids":["CWE-276"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3701"},{"type":"WEB","url":"https://github.com/ansible/ansible-runner/issues/738"},{"type":"WEB","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://access.redhat.com/security/cve/CVE-2021-3701"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1977959"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible-runner"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-runner/PYSEC-2022-43067.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-wwch-cmqr-hhrm/GHSA-wwch-cmqr-hhrm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}