Descrizione
This affects the package json8 before 1.0.3. The function adds in the target object the property specified in the path, however it does not properly check the key being set, leading to a prototype pollution.
This affects the package json8 before 1.0.3. The function adds in the target object the property specified in the path, however it does not properly check the key being set, leading to a prototype pollution.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| json8 project | json8 | < 1.0.3 | – |
CWE-1321 Prototype pollution: modifica non controllata del prototipo di un oggetto
Il prodotto riceve dall’esterno gli attributi da impostare in un oggetto, ma non impedisce che vengano modificati anche quelli del suo prototipo, alterando il comportamento di tutta l’applicazione (tipico di JavaScript).
| Ambito | Impatto |
|---|---|
| Riservatezza, Integrità, Disponibilità | Leggere i dati dell’applicazione, Modificare i dati dell’applicazione |
| Disponibilità | Interruzione del servizio: arresto o riavvio |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 588 CVE di tipo CWE-1321, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org