Descrizione
The MongoDB C# Driver writes GeoJSON extra members without checking whether their names collide with reserved GeoJSON members such as type and coordinates. An application that places user-supplied field names into these extra members can store documents with duplicate geometry fields, so the server and the driver resolve different values for the same record. Affected records can also become unreadable through the driver, interrupting application code that reads them.
Tipo di vulnerabilità
CWE-694
Use of Multiple Resources with Duplicate Identifier
The product uses multiple resources that can have the same identifier, in a context in which unique identifiers are required.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione |
| Altro |
Degradare la qualità |
Come si previene
Architettura e progettazione
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.
Tutte le 15 CVE di tipo CWE-694, con andamento e prevenzione