Descrizione
mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/util.c did not make every truncated, corrupt, or failed zstd stream fatal in mport_decompress_zstd(), and libmport/fetch.c did not consistently propagate those failures to index-fetch callers. A malicious or faulty mirror could supply compressed package index data that caused ZSTD_decompressStream() or an output write to fail while leaving partial index output available for later use, resulting in package-index integrity loss or denial of service. This issue is fixed in version 2.7.8.
Tipo di vulnerabilità
CWE-354
Improper Validation of Integrity Check Value
The product does not validate or incorrectly validates the integrity check values or checksums of a message.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Altro |
Modificare i dati dell’applicazione, Altro |
| Integrità, Altro |
Altro |
| Non ripudio, Altro |
Nascondere le proprie attività, Altro |
Come si previene
Sviluppo
The protocol specification describes the algorithm used for calculating the checksum. It is then a matter of implementing the calculation and verifying that the calculated checksum and the received checksum match.
Tutte le 202 CVE di tipo CWE-354, con andamento e prevenzione