Descrizione
In KDE Skanpage before 25.08.0, an attempt at file overwrite can result in the contents of the new file at the beginning followed by the partial contents of the old file at the end, because of use of QIODevice::ReadWrite instead of QODevice::WriteOnly.
Tipo di vulnerabilità
CWE-684
Incorrect Provision of Specified Functionality
The code does not function according to its published specifications, potentially leading to incorrect usage.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Degradare la qualità, Stato imprevisto, Dipende dal contesto |
Come si previene
Sviluppo
Ensure that your code strictly conforms to specifications.
Tutte le 28 CVE di tipo CWE-684, con andamento e prevenzione