Use of Multiple Resources with Duplicate Identifier
CWE-694
Per technology (GHSA, All time)
100%-Go
Short description
The product uses multiple resources that can have the same identifier, in a context in which unique identifiers are required.
Extended description
If the product assumes that each resource has a unique identifier, the product could operate on the wrong resource if attackers can cause multiple resources to be associated with the same identifier.
Best practices to prevent this CWE
Phase: Architecture and Design
Where possible, use unique identifiers. If non-unique identifiers are detected, then do not operate any resource with a non-unique identifier and report the error appropriately.