Описание
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.
| Релиз | Статус | Примечание |
|---|---|---|
| bionic | released | 1.4.11.1-1+deb10u4build0.18.04.1 |
| devel | needs-triage | |
| esm-apps/bionic | released | 1.4.11.1-1+deb10u4build0.18.04.1 |
| esm-apps/focal | released | 1.4.11.1-1ubuntu0.3 |
| esm-apps/jammy | released | 1.4.18-2ubuntu0.1 |
| esm-apps/noble | needs-triage | |
| esm-apps/xenial | released | 1.4.8-1ubuntu0.1+esm1 |
| esm-infra-legacy/trusty | released | 1.4.7-1ubuntu0.1+esm1 |
| focal | released | 1.4.11.1-1ubuntu0.3 |
| jammy | released | 1.4.18-2ubuntu0.1 |
Показывать по
8.2 High
CVSS3
Связанные уязвимости
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.
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.
XStream serializes Java objects to XML and back again. Versions prior ...
XStream can cause Denial of Service via stack overflow
Уязвимость Java-библиотеки для преобразования объектов в XML или JSON формат XStream платформы виртуализации VMware Cloud Foundation, связанная с переполнением буфера на стеке, позволяющая нарушителю вызвать отказ в обслуживании
8.2 High
CVSS3