Descrizione
A vulnerability in the seccomp filters of Canonical snapd before version 2.37.4 allows a strict mode snap to insert characters into a terminal on a 64-bit host. The seccomp rules were generated to match 64-bit ioctl(2) commands on a 64-bit platform; however, the Linux kernel only uses the lower 32 bits to determine which ioctl(2) commands to run. This issue affects: Canonical snapd versions prior to 2.37.4.
Tipo di vulnerabilità
CWE-628
Function Call with Incorrectly Specified Arguments
The product calls a function, procedure, or routine with arguments that are not correctly specified.
Impatto sui sistemi
| Ambito | Impatto |
| Altro, Controllo degli accessi |
Degradare la qualità, Ottenere privilegi o assumere un’altra identità, Stato imprevisto, Dipende dal contesto |
Come si previene
Build e compilazione
Once found, these issues are easy to fix. Use code inspection tools and relevant compiler features to identify potential violations. Pay special attention to code that is not likely to be exercised heavily during QA.
Architettura e progettazione
Make sure your API's are stable before you use them in production code.
Tutte le 5 CVE di tipo CWE-628, con andamento e prevenzione