Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2022-41966

Опубликовано: 28 дек. 2022
Источник: nvd
CVSS3: 8.2
CVSS3: 7.5
EPSS Низкий

Описание

XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable.

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*
Версия до 1.4.20 (исключая)

EPSS

Процентиль: 89%
0.04274
Низкий

8.2 High

CVSS3

7.5 High

CVSS3

Дефекты

CWE-120
CWE-674

Связанные уязвимости

CVSS3: 8.2
ubuntu
около 3 лет назад

XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable.

CVSS3: 7.5
redhat
около 3 лет назад

XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable.

CVSS3: 8.2
debian
около 3 лет назад

XStream serializes Java objects to XML and back again. Versions prior ...

CVSS3: 8.2
github
около 3 лет назад

XStream can cause Denial of Service via stack overflow

CVSS3: 7.5
fstec
около 3 лет назад

Уязвимость Java-библиотеки для преобразования объектов в XML или JSON формат XStream платформы виртуализации VMware Cloud Foundation, связанная с переполнением буфера на стеке, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

Процентиль: 89%
0.04274
Низкий

8.2 High

CVSS3

7.5 High

CVSS3

Дефекты

CWE-120
CWE-674