Descrizione
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer while computing the value. Applications that retain or reuse encoded input for integrity checks, logging, or later processing can observe silently corrupted data, while positive integers and other MessagePack value types are unaffected. This issue is fixed in version 6.1.0.
Tipo di vulnerabilità
CWE-471
Modification of Assumed-Immutable Data (MAID)
The product does not properly protect an assumed-immutable element from being modified by an attacker.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità |
Modificare i dati dell’applicazione |
| Integrità |
Stato imprevisto |
Come si previene
Architettura e progettazione · Esercizio · Sviluppo
When the data is stored or transmitted through untrusted sources that could modify the data, implement integrity checks to detect unauthorized modification, or store/transmit the data in a trusted location that is free from external influence.
Tutte le 31 CVE di tipo CWE-471, con andamento e prevenzione