Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-23511

HIGH 7.1EPSS 40%

Amazon CloudWatch Agent for Windows has Privilege Escalation Vector

Also known as GHSA-j8x2-2m5w-j939, GO-2022-1160

Mitigation

  • Upgrade github.com/aws/amazon-cloudwatch-agent to 1.247355.0 or later.

Who should check

  • Projects that depend on Go package github.com/aws/amazon-cloudwatch-agent (< 1.247355.0)
  • Anyone running aws amazon-cloudwatch-agent < 1.247355

Vulnerability facts

Affected
github.com/aws/amazon-cloudwatch-agent < 1.247355.0
Fixed in
1.247355.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: Low
EPSS
0.55% chance of exploitation in 30 days (percentile 40, 2026-11-26)
CWE
CWE-274
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/aws/amazon-cloudwatch-agent< 1.247355.01.247355.0osv
aws amazon-cloudwatch-agent< 1.247355—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-23511. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-23511.md
Affected: github.com/aws/amazon-cloudwatch-agent < 1.247355.0
Fixed in: 1.247355.0

Steps:
1. Search this machine and project for github.com/aws/amazon-cloudwatch-agent (Go), aws amazon-cloudwatch-agent: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-23511 being exploited?

There is no confirmed exploitation: CVE-2022-23511 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-23511?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2022-23511?

github.com/aws/amazon-cloudwatch-agent < 1.247355.0.

Is there a fix for CVE-2022-23511?

Yes. Fixed in 1.247355.0. Upgrade github.com/aws/amazon-cloudwatch-agent to 1.247355.0 or later.

How do I check if I'm affected by CVE-2022-23511?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors