CVE-2021-3702: Race Condition

Published Jun 30, 2021
·
Updated

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 privatedatadir the next time ansible-runner made use of the privatedatadir. The highest Threat out of this flaw is to integrity and confidentiality.

Other sources

A race condition was found in ansible-runner where an attacker could watch for a rapid creation and deletion of a temporary directory, substitute their own directory at that name, and then have access to ansible-runner's privatedatadir the next time ansible-runner made use of the privatedatadir.

Upstream patch:

https://github.com/ansible/ansible-runner/pull/742/commits/0e9aa8a97e7832ef9a1553ef2908632a32d2b8c4

Red Hat

Affected Software

2 affected componentsFixes available
pip/ansible-runner>=2.0.0<2.1.0
2.1.0
redhat Ansible Runner=2.0.0

Event History

Jun 30, 2021
Data Sourced
via Red Hat·07:51 PM
DescriptionSeverityAffected Software
Aug 23, 2022
CVE Published
via MITRE·03:51 PM
Data Sourced
via MITRE·03:51 PM
DescriptionWeakness
Aug 24, 2022
Advisory Published
via GitHub·12:00 AM

Frequently Asked Questions

1

What is the severity of CVE-2021-3702?

CVE-2021-3702 has been classified with a medium severity level due to the potential for unauthorized access to sensitive data.

2

How do I fix CVE-2021-3702?

To mitigate CVE-2021-3702, upgrade ansible-runner to version 2.1.0 or later.

3

What components are affected by CVE-2021-3702?

CVE-2021-3702 affects ansible-runner versions from 2.0.0 to below 2.1.0.

4

What type of vulnerability is CVE-2021-3702?

CVE-2021-3702 is a race condition vulnerability that can be exploited to gain access to private directories.

5

Who is the vendor affected by CVE-2021-3702?

CVE-2021-3702 affects Red Hat's ansible-runner software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203