Vulnerabilities in pkg:golang/sigs.k8s.io/aws-iam-authenticator
PACKAGECVE-2022-2385 is a HIGH (CVSS 8.1) aws-iam-authenticator allow-listed iam identity may vulnerability (CWE-20: Improper Input Validation) affecting Sigs.k8s.io/aws iam authenticator libraries in the Go ecosystem. The issue involves aws-iam-authenticator allow-listed iam identity may be able to modify their username, escalate privileges before v0.5.9. Remediation is available by upgrading affected packages to version 0.5.9.
pkg:golang/sigs.k8s.io/aws-iam-authenticator
Vulnerability advisories affecting package pkg:golang/sigs.k8s.io/aws-iam-authenticator. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-pp3f-98qg-5g75 | CVE-2022-2385 | HIGH | aws-iam-authenticator allow-listed IAM identity may be able to modify their username, escalate privileges before v0.5.9 |
CVE-2022-2385 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2022-2385
To remediate this vulnerability, upgrade all affected Sigs.k8s.io/aws iam authenticator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade sigs.k8s.io/aws-iam-authenticator to 0.5.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sigs.k8s.io/aws-iam-authenticator
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-2385, inspect your project dependencies for Sigs.k8s.io/aws iam authenticator:
inspect dependencies for sigs.k8s.io/aws-iam-authenticator
Analyze the terminal output to locate any version of Sigs.k8s.io/aws iam authenticator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.9), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Sigs.k8s.io/aws iam authenticator, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-2385 Affected Sigs.k8s.io/aws iam authenticator Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sigs.k8s.io/aws-iam-authenticator
|
Go |
< 0.5.9
|
0.5.9
|
References
Frequently Asked Questions
What is CVE-2022-2385?
Which Sigs.k8s.io/aws iam authenticator versions are affected?
What version fixes CVE-2022-2385?
Is sigs.k8s.io/aws-iam-authenticator affected?
What is the CVSS score of CVE-2022-2385?
What CWE is associated with CVE-2022-2385?
How can I check Go dependencies for CVE-2022-2385?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pp3f-98qg-5g75",
"modified" : "2022-07-21T15:22:31Z",
"published" : "2022-07-13T00:00:41Z",
"aliases" : [ "CVE-2022-2385" ],
"summary" : "aws-iam-authenticator allow-listed IAM identity may be able to modify their username, escalate privileges before v0.5.9",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "sigs.k8s.io/aws-iam-authenticator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-2385"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-sigs/aws-iam-authenticator/issues/472"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-sigs/aws-iam-authenticator/pull/469"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-sigs/aws-iam-authenticator/commit/029d1dcf2ec8d662d9b1c21260bb197404bc8218"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes-sigs/aws-iam-authenticator"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/tag/v0.5.9"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/a/kubernetes.io/g/dev/c/EMxHpU-1ZYs"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-15T18:09:47Z",
"nvd_published_at" : "2022-07-12T19:15:00Z"
}
}