QID 354921

Date Published: 2023-05-03

QID 354921: Amazon Linux Security Advisory for xstream : ALAS2-2023-2030

Xstream is a java library to serialize objects to xml and back again.
In xstream before version 1.4.16, there is a vulnerability where 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.
If you rely on xstream's default blacklist of the security framework, you will have to use at least version 1.4.16. (
( CVE-2021-21342)



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.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.1 severity.
  • CVSS V2 rated as Medium - 5.8 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2030 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354921

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2030 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2030.html