1722
However, because the parent and child are executing concurrently, and stdout is flushed each time
a character is printed, the output might be mixed together, such as:
PcAhRiElNdT
[blank line]
[blank line]
MemberOf Relationships
This MemberOf relationships table shows additional CWE Catgeories and Views that reference this
weakness as a member. This information is often useful in understanding where a weakness fits
within the context of external information sources.
Nature Type ID Name Page
MemberOf 853 The CERT Oracle Secure Coding Standard for Java
(2011) Chapter 10 - Locking (LCK)
844 2366
MemberOf 1143 SEI CERT Oracle Secure Coding Standard for Java -
Guidelines 09. Locking (LCK)
1133 2449
MemberOf 1401 Comprehensive Categorization: Concurrency 1400 2526
Notes
Maintenance
Deeper research is necessary for synchronization and related mechanisms, including locks,
mutexes, semaphores, and other mechanisms. Multiple entries are dependent on this research,
which includes relationships to concurrency, race conditions, reentrant functions, etc. CWE-662
and its children - including CWE-667, CWE-820, CWE-821, and others - may need to be
modified significantly, along with their relationships.
Taxonomy Mappings
Mapped Taxonomy Name Node ID Fit Mapped Node Name
The CERT Oracle Secure
Coding Standard for Java
(2011)
LCK05-J Synchronize access to static fields that
can be modified by untrusted code
CWE-821: Incorrect Synchronization
Weakness ID : 821
Structure : Simple
Abstraction : Base
Description
The product utilizes a shared resource in a concurrent manner, but it does not correctly
synchronize access to the resource.
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.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
CWE Version 4.14
CWE-822: Untrusted Pointer Dereference
CWE-822: Untrusted Pointer Dereference