Descrizione
The fix for CVE-2022-3437 included changing memcmp to be constant time and a workaround for a compiler bug by adding "!= 0" comparisons to the result of memcmp. When these patches were backported to the heimdal-7.7.1 and heimdal-7.8.0 branches (and possibly other branches) a logic inversion sneaked in causing the validation of message integrity codes in gssapi/arcfour to be inverted.
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