Allocation of Resources Without Limits or Throttling Affecting amazon-cloudwatch-agent package, versions <0:1.300066.2-2.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.81% (54th 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-AMAZONCLOUDWATCHAGENT-17945012
  • published11 Jul 2026
  • disclosed4 May 2026

Introduced: 4 May 2026

CVE-2026-42154  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 amazon-cloudwatch-agent to version 0:1.300066.2-2.amzn2 or higher.
This issue was patched in ALAS2-2026-3323.

NVD Description

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

Prometheus is an open-source monitoring system and time series database. Prior to versions 3.5.3 and 3.11.3, the remote read endpoint (/api/v1/read) does not validate the declared decoded length in a snappy-compressed request body before allocating memory. An unauthenticated attacker can send a small payload that causes a huge heap allocation per request. Under concurrent load this can exhaust available memory and crash the Prometheus process. This issue has been patched in versions 3.5.3 and 3.11.3.

References

CVSS Base Scores

version 3.1