- What is CWE-362?
- The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
- What CVEs are caused by CWE-362?
- 874 recorded CVEs are attributed to CWE-362, including CVE-2021-21166, CVE-2020-6820, CVE-2023-36884. 7 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
- How do you prevent CWE-362?
- In languages that support it, use synchronization primitives. Only wrap these around critical code to minimize the impact on performance.
- How is CWE-362 detected?
- Black Box: Black box methods may be able to identify evidence of race conditions via methods such as multiple simultaneous connections, which may cause the software to become instable or crash. However, race conditions with very narrow timing windows would not be detectable.
- What are the consequences of CWE-362?
- Exploiting CWE-362 can lead to: DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other), DoS: Crash, Exit, or Restart, DoS: Instability, Read Files or Directories.
- Is CWE-362 actively exploited?
- Yes. 7 CWE-362 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 874 recorded CVEs.