OS Command Injection Affecting xstream-javadoc package, versions <0:1.3.1-12.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
97.31% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-XSTREAMJAVADOC-1693693
  • published27 Sept 2021
  • disclosed16 Nov 2020

Introduced: 16 Nov 2020

CVE-2020-26217  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 xstream-javadoc to version 0:1.3.1-12.amzn2 or higher.
This issue was patched in ALAS2-2021-1593.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xstream-javadoc package and not the xstream-javadoc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to run arbitrary shell commands only by manipulating the processed input stream. Only users who rely on blocklists are affected. Anyone using XStream's Security Framework allowlist is not affected. The linked advisory provides code workarounds for users who cannot upgrade. The issue is fixed in version 1.4.14.

References

CVSS Scores

version 3.1