CVE-2017-7957
XStream: DoS when unmarshalling void type
Overview
Description
XStream through 1.4.9, when a certain denyTypes workaround is not used, mishandles attempts to create an instance of the primitive type 'void' during unmarshalling, leading to a remote application crash, as demonstrated by an xstream.fromXML("<void/>") call.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-20
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | <1.4.10 | 1.4.10 |
Open a package to see all its vulnerabilities.
Operating systems · 10 fixes
Red Hat 3 releases · 2 packages
affected 4
rh-sso7-keycloak
xstream
| Release | Package | Fixed in |
|---|---|---|
| 7 | rh-sso7-keycloak +1 | affected |
| 7 | xstream +1 | affected |
| 8 | rh-sso7-keycloak +1 | affected |
| 9 | rh-sso7-keycloak +1 | affected |
debian 4 releases · 1 package
fixed 4
libxstream-java
| Release | Package | Fixed in |
|---|---|---|
| 11 | libxstream-java | 1.4.9-2 |
| 12 | libxstream-java | 1.4.9-2 |
| 13 | libxstream-java | 1.4.9-2 |
| 14 | libxstream-java | 1.4.9-2 |
echo 1 release · 1 package
fixed 1
libxstream-java
| Release | Package | Fixed in |
|---|---|---|
| libxstream-java | 1.4.9-2 |
openSUSE 1 release · 1 package
fixed 1
xstream
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | xstream +3 | 1.4.18-1.1 | openSUSE-SU-2024:10592-1 |
References
- www.debian.org http://www.debian.org/security/2017/dsa-3841
- www.securityfocus.com http://www.securityfocus.com/bid/100687
- www.securitytracker.com http://www.securitytracker.com/id/1039499
- x-stream.github.io http://x-stream.github.io/CVE-2017-7957.html
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:1832
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2888
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2889
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-7957
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/125800
- github.com https://github.com/x-stream/xstream
Show all 18 references
- github.com https://github.com/x-stream/xstream/commit/6e546ec366419158b1e393211be6d78ab9604ab
- github.com https://github.com/x-stream/xstream/commit/8542d02d9ac5d384c85f4b33d6c1888c53bd55d
- github.com https://github.com/x-stream/xstream/commit/b3570be
- github.com https://github.com/x-stream/xstream/commit/b3570be2f39234e61f99f9a20640756ea71b1b4
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-7957
- www-prd-trops.events.ibm.com https://www-prd-trops.events.ibm.com/node/715749
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-7957
- x-stream.github.io https://x-stream.github.io/CVE-2017-7957.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.