CVE-2022-2385 AccessKeyID validation bypass
An allow-listed IAM identity can modify their username to escalate privileges in the aws-iam-authenticator component.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-2385?
CVE-2022-2385 is a high-severity authentication bypass vulnerability in Kubernetes aws-iam-authenticator, published on 12 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A security issue was discovered in aws-iam-authenticator where an allow-listed IAM identity may be able to modify their username and escalate privileges.
Weakness: CWE-20
Which versions are affected by CVE-2022-2385?
3 open source packages ship an affected version, including sigs.k8s.io/aws-iam-authenticator. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sigs.k8s.io/aws-iam-authenticator Go | All versions | 0.5.9 |
sigs.k8s.io/aws-iam-authenticator Go | All versions | 0.5.9 |
sigs.k8s.io/aws-iam-authenticator Go | All versions | 0.5.9 |
Linux distribution packages (7)
aws-iam-authenticator SUSE:Linux Enterprise Module for Public Cloud 15 | All versions | 0.5.3-150000.1.9.1 |
aws-iam-authenticator SUSE:Linux Enterprise Module for Public Cloud 15 SP1 | All versions | 0.5.3-150000.1.9.1 |
aws-iam-authenticator SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 0.5.3-150000.1.9.1 |
aws-iam-authenticator SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | All versions | 0.5.3-150000.1.9.1 |
aws-iam-authenticator SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 0.5.3-150000.1.9.1 |
aws-iam-authenticator openSUSE:Leap 15.3 | All versions | 0.5.3-150000.1.9.1 |
aws-iam-authenticator openSUSE:Leap 15.4 | All versions | 0.5.3-150000.1.9.1 |
Products include Kubernetes Aws-Iam-Authenticator.
How do I fix CVE-2022-2385?
Upgrade sigs.k8s.io/aws-iam-authenticator to 0.5.9 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2022-2385 being exploited?
There is no known exploitation of CVE-2022-2385 in the wild and no public exploit code.
Sources
Also known as GHSA-pp3f-98qg-5g75, GO-2022-0547, SUSE-SU-2022:2583-1.