Skip to main content

CWE-821: Incorrect Synchronization

BaseIncomplete

The product utilizes a shared resource in a concurrent manner, but it does not correctly synchronize access to the resource.

View on MITRE
Back to CWE Lookup

Extended Description

If access to a shared resource is not correctly synchronized, then the resource may not be in a state that is expected by the product. This might lead to unexpected or insecure behaviors, especially if an attacker can influence the shared resource.

Technical Details

Structure
Simple

Applicable To

Languages
Platforms

Frequently Asked Questions

What is CWE-821: Incorrect Synchronization?+

CWE-821: Incorrect Synchronization is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product utilizes a shared resource in a concurrent manner, but it does not correctly synchronize access to the resource. If access to a shared resource is not correctly synchronized, then the resource may not be in a state that is expected by the product. This might lead to unexpected or insecure behaviors, especially if an attacker can influence the shared resource.

What are the security consequences of Incorrect Synchronization?+

If exploited, CWE-821 (Incorrect Synchronization) it can compromise Integrity, Confidentiality and Other, leading to outcomes such as Modify Application Data, Read Application Data and Alter Execution Logic.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-821 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More