1. Archivio CVE
  2. 2019
  3. CVE-2019-15538

CVE-2019-15538

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

An issue was discovered in xfs_setattr_nonsize in fs/xfs/xfs_iops.c in the Linux kernel through 5.2.9. XFS partially wedges when a chgrp fails on account of being out of disk quota. xfs_setattr_nonsize is failing to unlock the ILOCK after the xfs_qm_vop_chown_reserve call fails. This is primarily a local DoS attack vector, but it might result as well in remote DoS if the XFS filesystem is exported for instance via NFS.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 16.04 –
canonical ubuntu linux 18.04 –
canonical ubuntu linux 19.04 –
debian debian linux 8.0 –
fedoraproject fedora 29 –
fedoraproject fedora 30 –
linux linux kernel >= 4.7 < 4.9.191 –
linux linux kernel >= 4.14 < 4.14.141 –
linux linux kernel >= 4.19 < 4.19.69 –
linux linux kernel >= 5.2 < 5.2.11 –
linux linux kernel 5.3 –
linux linux kernel 5.3 rc1 –
linux linux kernel 5.3 rc2 –
linux linux kernel 5.3 rc3 –
linux linux kernel 5.3 rc4 –
linux linux kernel 5.3 rc5 –
linux linux kernel 5.3 rc6 –
netapp aff a700s firmware tutte –
netapp data availability services tutte –
netapp h300e firmware tutte –
netapp h300s firmware tutte –
netapp h410c firmware tutte –
netapp h410s firmware tutte –
netapp h500e firmware tutte –
netapp h500s firmware tutte –
netapp h610s firmware tutte –
netapp h700e firmware tutte –
netapp h700s firmware tutte –
netapp hci management node tutte –
netapp solidfire tutte –
opensuse leap 15.0 –
opensuse leap 15.1 –
Tutte le 23.461 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-400 Consumo di risorse non controllato

Il prodotto non controlla correttamente l’assegnazione e l’uso di una risorsa limitata (memoria, CPU, connessioni), che può essere esaurita fino a bloccare il servizio.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro

Come si previene

Architettura e progettazione Design throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perhaps by caching result sets, can help minimize the resources expended. To further limit the potential for a DoS attack, consider tracking the rate of requests received from users and blocking requests that exceed a defined rate threshold.
Architettura e progettazione Mitigation of resource exhaustion attacks requires that the target system either: recognizes the attack and denies that user further access for a given amount of time, or uniformly throttles all requests in order to make it more difficult to consume resources more quickly than they can again be freed. The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question. The second solution is simply difficult to effectively institute -- and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.
Architettura e progettazione Ensure that protocols have specific limits of scale placed on them.
Sviluppo Ensure that all failures in resource allocation place the system into a safe posture.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 3.943 CVE di tipo CWE-400, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org