Stack-based Buffer Overflow Affecting xstream package, versions <0:1.3.1-16.amzn2.0.4


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-8545308
  • published20 Dec 2024
  • disclosed8 Nov 2024

Introduced: 8 Nov 2024

CVE-2024-47072  (opens in a new tab)
CWE-121  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

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

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.

XStream is a simple library to serialize objects to XML and back again. This vulnerability may allow a remote attacker to terminate the application with a stack overflow error resulting in a denial of service only by manipulating the processed input stream when XStream is configured to use the BinaryStreamDriver. XStream 1.4.21 has been patched to detect the manipulation in the binary input stream causing the the stack overflow and raises an InputManipulationException instead. Users are advised to upgrade. Users unable to upgrade may catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.

CVSS Scores

version 3.1