QID 980129

QID 980129: Java (maven) Security Update for com.thoughtworks.xstream:xstream (GHSA-hvv8-336g-rx3m)

Security update has been released for com.thoughtworks.xstream:xstream to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

The processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types.

  • CVSS V3 rated as Critical - 9.1 severity.
  • CVSS V2 rated as High - 6.4 severity.
  • Solution
    If you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.16.Workaround:
    See [workarounds](https://x-stream.github.io/security.html#workaround) for the different versions covering all CVEs.
    Vendor References

    CVEs related to QID 980129

    Software Advisories
    Advisory ID Software Component Link
    GHSA-hvv8-336g-rx3m com.thoughtworks.xstream:xstream URL Logo github.com/advisories/GHSA-hvv8-336g-rx3m