{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3701","id":"CVE-2021-3701","title":"ansible-runner has default temporary files written to world R/W locations","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 ","descriptionLong":"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.","published":"2022-08-23T15:50:47.000Z","updated":"2026-10-20T10:54:49.471125113Z","reserved":"2021-08-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ansible-runner"],"affectedProducts":[{"vendor":"n/a","product":"ansible-runner","defaultStatus":null,"versions":[{"status":"affected","version":"Affects ansible-runner 2.0"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible-runner","purl":"pkg:pypi/ansible-runner","ranges":[">=2.0.0 <2.1.0"],"fixed":["2.1.0"],"advisory":"GHSA-wwch-cmqr-hhrm"}],"cwes":["CWE-276"],"aliases":["GHSA-wwch-cmqr-hhrm","PYSEC-2022-43067"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1977959","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Vendor Advisory","fix","web","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3701","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/ansible/ansible-runner/issues/738","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/ansible/ansible-runner/pull/742/commits","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3701","tags":["advisory"]},{"url":"https://github.com/ansible/ansible-runner/pull/742","tags":["web"]},{"url":"https://github.com/ansible/ansible-runner","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-runner/PYSEC-2022-43067.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00288,"epssPercentile":0.21748,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3701","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3701","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3701","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wwch-cmqr-hhrm","ok":true,"note":"GHSA-wwch-cmqr-hhrm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3701","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}