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

CVE-2021-43859

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 an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. XStream 1.4.19 monitors and accumulates the time it takes to add elements to collections and throws an exception if a set threshold is exceeded. Users are advised to upgrade as soon as possible. Users unable to upgrade may set the NO_REFERENCE mode to prevent recursion. See GHSA-rmr5-cpv2-vgjf for further details on a workaround if an upgrade is not possible.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 9.0 –
fedoraproject fedora 34 –
fedoraproject fedora 35 –
jenkins jenkins < 2.319.3 –
jenkins jenkins >= 2.321 < 2.334 –
oracle commerce guided search 11.3.2 –
oracle communications brm - elastic charging engine < 12.0.0.4.6 –
oracle communications brm - elastic charging engine 12.0.0.5.0 –
oracle communications cloud native core automated test suite 1.9.0 –
oracle communications diameter intelligence hub >= 8.0.0 <= 8.1.0 –
oracle communications diameter intelligence hub >= 8.2.0 <= 8.2.6 –
oracle communications policy management 12.6.0.0.0 –
oracle flexcube private banking 12.1.0 –
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 retail xstore point of service 20.0.1 –
xstream xstream < 1.4.19 –
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.952 CVE di tipo CWE-400, con andamento e prevenzione

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