Information Exposure Through Log Files Affecting amazon-cloudwatch-agent package, versions <0:1.300044.0-1.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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 Information Exposure Through Log Files vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-AMAZONCLOUDWATCHAGENT-7922465
  • published6 Sept 2024
  • disclosed24 Jun 2024

Introduced: 24 Jun 2024

CVE-2024-6104  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 amazon-cloudwatch-agent to version 0:1.300044.0-1.amzn2 or higher.
This issue was patched in ALAS2-2024-2630.

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.

go-retryablehttp prior to 0.7.7 did not sanitize urls when writing them to its log file. This could lead to go-retryablehttp writing sensitive HTTP basic auth credentials to its log file. This vulnerability, CVE-2024-6104, was fixed in go-retryablehttp 0.7.7.

CVSS Scores

version 3.1