1. Archivio CVE
  2. 2021
  3. CVE-2021-21348

CVE-2021-21348

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

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to occupy a thread that consumes maximum CPU time and will never return. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apache activemq < 5.15.14 –
apache activemq 5.16.0 –
apache activemq 5.16.1 –
apache jmeter < 5.5 –
debian debian linux 9.0 –
debian debian linux 10.0 –
debian debian linux 11.0 –
fedoraproject fedora 33 –
fedoraproject fedora 34 –
fedoraproject fedora 35 –
netapp oncommand insight tutte –
oracle banking enterprise default management 2.10.0 –
oracle banking enterprise default management 2.12.0 –
oracle banking platform 2.4.0 –
oracle banking platform 2.7.1 –
oracle banking platform 2.9.0 –
oracle banking platform 2.12.0 –
oracle banking virtual account management 14.2.0 –
oracle banking virtual account management 14.3.0 –
oracle banking virtual account management 14.5.0 –
oracle business activity monitoring 11.1.1.9.0 –
oracle business activity monitoring 12.2.1.3.0 –
oracle business activity monitoring 12.2.1.4.0 –
oracle communications billing and revenue management elastic charging engine 12.0.0.3.0 –
oracle communications policy management 12.5.0 –
oracle communications unified inventory management 7.3.2 –
oracle communications unified inventory management 7.3.4 –
oracle communications unified inventory management 7.3.5 –
oracle communications unified inventory management 7.4.0 –
oracle communications unified inventory management 7.4.1 –
oracle mysql server <= 8.0.27 –
oracle retail xstore point of service 16.0.6 –
oracle retail xstore point of service 17.0.4 –
oracle retail xstore point of service 18.0.3 –
oracle retail xstore point of service 19.0.2 –
oracle webcenter portal 11.1.1.9.0 –
oracle webcenter portal 12.2.1.3.0 –
oracle webcenter portal 12.2.1.4.0 –
xstream xstream < 1.4.16 –
Tutte le 37 vulnerabilità di Xstream

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.963 CVE di tipo CWE-400, con andamento e prevenzione

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