Out-of-bounds Write Affecting xstream package, versions <0:1.3.1-16.amzn2.0.3


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.85% (82nd 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 IDSNYK-AMZN2-XSTREAM-6253810
  • published20 Feb 2024
  • disclosed16 Sept 2022

Introduced: 16 Sep 2022

CVE-2022-40151  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 xstream to version 0:1.3.1-16.amzn2.0.3 or higher.
This issue was patched in ALAS2-2024-2464.

NVD Description

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

Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

CVSS Scores

version 3.1