Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3702
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:50 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-3702
Complete source record
{
"id": "e280624d4bbef871f4700f98440300cc38313e02600ba71776852fe09efb568b",
"url": "https://osv.dev/vulnerability/CVE-2021-3702",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3702",
"summary": "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.",
"evidence": "osv:CVE-2021-3702",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-3702",
"aliases": [
"CVE-2021-3702",
"GHSA-772j-xvf9-qpf5",
"PYSEC-2022-43068"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ansible/ansible-runner",
"type": "GIT",
"events": [
{
"introduced": "a869b638d6afaf99cd2a59627bbdea2ef72a3b3f"
},
{
"last_affected": "a869b638d6afaf99cd2a59627bbdea2ef72a3b3f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:ansible_runner:2.0.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-NA"
},
{
"last_affected": "2.0.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.0.0-NA",
"2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3702.json"
}
}
],
"modified": "2026-10-20T10:54:49.470241785Z",
"provider": "osv",
"references": [
"https://access.redhat.com/security/cve/CVE-2021-3702",
"https://bugzilla.redhat.com/show_bug.cgi?id=1977965",
"https://github.com/ansible/ansible-runner/pull/742/commits"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-3702",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386214,
"published_at": "2022-08-23T16:15:09.55+00:00"
}