CVE-2022-29527 Privilege escalation in n/a

High 7.0 Published Updated

Local attackers can escalate privileges to root by exploiting a race condition that creates a world-writable sudoers file in the AWS SSM Agent.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-29527?

CVE-2022-29527 is a high-severity vulnerability in n/a, published on 20 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Amazon AWS amazon-ssm-agent before 3.1.1208.0 creates a world-writable sudoers file, which allows local attackers to inject Sudo rules and escalate privileges to root. This occurs in certain situations involving a race condition.

Weakness: CWE-732, CWE-362

Which versions are affected by CVE-2022-29527?

It affects 1 product.

Linux distribution packages (8)
amazon-ssm-agent SUSE:Linux Enterprise Module for Public Cloud 12All versions3.1.1260.0-4.27.2
amazon-ssm-agent SUSE:Linux Enterprise Module for Public Cloud 15All versions3.1.1260.0-150000.5.9.2
amazon-ssm-agent SUSE:Linux Enterprise Module for Public Cloud 15 SP1All versions3.1.1260.0-150000.5.9.2
amazon-ssm-agent SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions3.1.1260.0-150000.5.9.2
amazon-ssm-agent SUSE:Linux Enterprise Module for Public Cloud 15 SP3All versions3.1.1260.0-150000.5.9.2
amazon-ssm-agent openSUSE:Leap 15.3All versions3.1.1260.0-150000.5.9.2
amazon-ssm-agent openSUSE:Leap 15.4All versions3.1.1260.0-150000.5.9.2
amazon-ssm-agent openSUSE:TumbleweedAll versions3.1.1260.0-1.1

Products include Amazon Amazon Ssm Agent.

How do I fix CVE-2022-29527?

Upgrade to a fixed version.

Is CVE-2022-29527 being exploited?

There is no known exploitation of CVE-2022-29527 in the wild and no public exploit code.

Sources

Also known as GHSA-87pw-p9qx-p46w, SUSE-SU-2022:1510-1, SUSE-SU-2022:3654-1, openSUSE-SU-2024:12012-1.

Is CVE-2022-29527 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free