Live threats

All CVEs / Amazon

CVE-2022-23511Amazon Cloudwatch Agent

Medium 6.8

Priority
41
CVSS 3.1
6.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 40
Auth required
Yes
Published
Dec 12, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-274
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

What happens

A privilege escalation issue exists within the Amazon CloudWatch Agent for Windows, software for collecting metrics and logs from Amazon EC2 instances and on-premises servers, in versions up to and including v1.247354. When users trigger a repair of the Agent, a pop-up window opens with SYSTEM permissions. Users with administrative access to affected hosts may use this to create a new command prompt as NT AUTHORITY\SYSTEM. To trigger this issue, the third party must be able to access the affected host and elevate their privileges such that they're able to trigger the agent repair process. They must also be able to install the tools required to trigger the issue. This issue does not affect the CloudWatch Agent for macOS or Linux. Agent users should upgrade to version 1.247355 of the CloudWatch Agent to address this issue. There is no recommended work around. Affected users must update the installed version of the CloudWatch Agent to address this issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cloudwatch Agent.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/aws/amazon-cloudwatch-agent < 1.247355.0 1.247355.0 go get github.com/aws/amazon-cloudwatch-agent@v1.247355.0
Go github.com/aws/amazon-cloudwatch-agent < 1.247355.0 1.247355.0 go get github.com/aws/amazon-cloudwatch-agent@v1.247355.0

Per OSV / GitHub Advisories (GHSA-j8x2-2m5w-j939, GO-2022-1160). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
amazoncloudwatch_agent< 1.247355

Official sources

References

Links published by the sources. Open them with care.