{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3702","id":"CVE-2021-3702","title":"ansible-runner vulnerable to Race Condition","description":"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.","descriptionLong":"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.","published":"2022-08-23T15:51:01.000Z","updated":"2026-10-20T10:54:49.470241785Z","reserved":"2021-08-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/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:P/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.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/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-772j-xvf9-qpf5"}],"cwes":["CWE-362","CWE-377"],"aliases":["GHSA-772j-xvf9-qpf5","PYSEC-2022-43068"],"references":[{"url":"https://github.com/ansible/ansible-runner/pull/742/commits","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1977965","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Vendor Advisory","fix","web","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3702","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3702","tags":["advisory"]},{"url":"https://github.com/ansible/ansible-runner/pull/742","tags":["package"]},{"url":"https://github.com/ansible/ansible-runner/commit/93e95a3df9021a38010386d07df121392d249253","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-runner/PYSEC-2022-43068.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00204,"epssPercentile":0.10482,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3702","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3702","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3702","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-772j-xvf9-qpf5","ok":true,"note":"GHSA-772j-xvf9-qpf5"},{"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-3702","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}