When multiple threads can read or modify the same data, use mutual exclusion primitives to avoid software flaws that could lead to security vulnerabilities.
Non-Compliant Code Example
Compliant Solution
Risk Assessment
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
|---|---|---|---|---|---|
MSC06-A | 1 (low) | 1 (unlikely) | 1 (high) | P1 | L3 |