CVE-2017-7957: Input Validation

Published Apr 12, 2017
·
Updated

A vulnerability was found in XStream. Parsing a maliciously crafted file could cause the application to crash.

The processed stream at unmarshalling type contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. The crash occurrs if this information advices XStream to create an instance of the primitive type 'void'. This situation can only happen if an attacker was able to manipulate the incoming data, since such an instance does not exist.

References:

http://seclists.org/oss-sec/2017/q2/9

Other sources

XStream is vulnerable to a denial of service, caused by the improper handling of attempts to create an instance of the primitive type 'void' during unmarshalling. A remote attacker could exploit this vulnerability to cause the application to crash.

IBM

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.

MITRE

Affected Software

8 affected componentsFixes available
Xstream Project Xstream<=1.4.9
Debian Debian Linux=8.0
Debian Debian Linux=9.0
IBM GDE<=3.0.0.2
redhat Fuse=1.0
redhat Jboss Middleware=1
XStream XStream<=1.4.9
maven/com.thoughtworks.xstream:xstream<1.4.10
1.4.10

Event History

Apr 12, 2017
Data Sourced
via Red Hat·08:12 AM
DescriptionSeverityAffected Software
Apr 29, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Jun 30, 2020
Advisory Published
via GitHub·10:48 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2017-7957?

CVE-2017-7957 is a vulnerability in XStream through 1.4.9 that allows for a denial of service attack.

2

How does CVE-2017-7957 manifest?

CVE-2017-7957 manifests as a remote application crash when XStream mishandles attempts to create an instance of the primitive type 'void' during unmarshalling.

3

Which software products are affected by CVE-2017-7957?

CVE-2017-7957 affects IBM GDE version 3.0.0.2, Xstream Project Xstream up to version 1.4.9, and Debian Debian Linux versions 8.0 and 9.0.

4

What is the severity of CVE-2017-7957?

The severity of CVE-2017-7957 is high with a CVSS score of 7.5.

5

How can CVE-2017-7957 be mitigated?

To mitigate CVE-2017-7957, apply the denyTypes workaround in XStream 1.4.9 or upgrade to a version that includes the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203