QID 980127

QID 980127: Java (maven) Security Update for com.thoughtworks.xstream:xstream (GHSA-74cv-f58x-f9wf)

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 the deletion of a file on the local host. 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 High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 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 980127

    Software Advisories
    Advisory ID Software Component Link
    GHSA-74cv-f58x-f9wf com.thoughtworks.xstream:xstream URL Logo github.com/advisories/GHSA-74cv-f58x-f9wf