Basic Time Related CWEs

CWE-362 - Concurrent Execution using Shared Resources with Improper Synchronization.

  1. The program contains a code sequence that can run concurrently with other code.

  2. And the code sequence requires temporary, exclusive access to a shared resource.

  3. However, a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently.

CWE-662 - Improper Synchronization.

  1. The software uses multiple threads or processes to allow temporary access to a shared resource that can only be exclusive to one process at a time.

  2. However, it does not properly synchronize these actions.

  3. Which might cause simultaneous access to this resource by multiple threads or processes.

Last updated