1. Archivio CVE
  2. 2020
  3. CVE-2020-5258

CVE-2020-5258

7.7 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N 7.7 – Alta

Descrizione

In affected versions of dojo (NPM package), the deepCopy method is vulnerable to Prototype Pollution. Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values. This has been patched in versions 1.12.8, 1.13.7, 1.14.6, 1.15.3 and 1.16.2

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 8.0 –
linuxfoundation dojo < 1.11.10 node.js
linuxfoundation dojo >= 1.12.0 < 1.12.8 node.js
linuxfoundation dojo >= 1.13.0 < 1.13.7 node.js
linuxfoundation dojo >= 1.14.0 < 1.14.6 node.js
linuxfoundation dojo >= 1.15.0 < 1.15.3 node.js
linuxfoundation dojo >= 1.16.0 < 1.16.2 node.js
oracle communications application session controller 3.9.0 –
oracle communications policy management 12.5.0 –
oracle communications pricing design center 12.0.0.3.0 –
oracle documaker >= 12.6.0 <= 12.6.4 –
oracle mysql >= 7.3.0 <= 7.3.29 –
oracle mysql >= 7.4.0 <= 7.4.28 –
oracle mysql >= 7.5.0 <= 7.5.18 –
oracle mysql >= 7.6.0 <= 7.6.14 –
oracle mysql >= 8.0.0 <= 8.0.20 –
oracle primavera unifier >= 17.7 <= 17.12 –
oracle primavera unifier 18.8 –
oracle primavera unifier 19.12 –
oracle primavera unifier 20.12 –
oracle webcenter sites 12.2.1.3.0 –
oracle webcenter sites 12.2.1.4.0 –
oracle weblogic server 12.2.1.4.0 –
oracle weblogic server 14.1.1.0.0 –

Tipo di vulnerabilità

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).

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Leggere i dati dell’applicazione, Modificare i dati dell’applicazione
Disponibilità Interruzione del servizio: arresto o riavvio

Come si previene

Sviluppo By freezing the object prototype first (for example, Object.freeze(Object.prototype)), modification of the prototype becomes impossible.
Architettura e progettazione By blocking modifications of attributes that resolve to object prototype, such as proto or prototype, this weakness can be mitigated.
Sviluppo · Validazione dell’input When handling untrusted objects, validating using a schema can be used.
Sviluppo By using an object without prototypes (via Object.create(null) ), adding object prototype attributes by accessing the prototype via the special attributes becomes impossible, mitigating this weakness.
Sviluppo Map can be used instead of objects in most cases. If Map methods are used instead of object attributes, it is not possible to access the object prototype or modify it.

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