CVE-2023-1260: Github.com/openshift/apiserver library go Authentication Bypass Vulnerability
HIGHCVE-2023-1260 is a HIGH (CVSS 8.0) authentication bypass vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting Github.com/openshift/apiserver library go libraries in the Go ecosystem. The issue involves kube-apiserver authentication bypass vulnerability. Remediation is available by upgrading affected packages to version 0.0.0-20230621.
CVE-2023-1260 at a Glance
Security Impact
CVSS: 8.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2023-1260
To remediate this vulnerability, upgrade all affected Github.com/openshift/apiserver library go 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 github.com/openshift/apiserver-library-go to 0.0.0-20230621
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openshift/apiserver-library-go
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-1260, inspect your project dependencies for Github.com/openshift/apiserver library go:
inspect dependencies for github.com/openshift/apiserver-library-go
Analyze the terminal output to locate any version of Github.com/openshift/apiserver library go in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20230621), 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-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. In Github.com/openshift/apiserver library go, 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-2023-1260 Affected Github.com/openshift/apiserver library go Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openshift/apiserver-library-go
|
Go |
< 0.0.0-20230621
|
0.0.0-20230621
|
References
Frequently Asked Questions
What is CVE-2023-1260?
Which Github.com/openshift/apiserver library go versions are affected?
What version fixes CVE-2023-1260?
Is github.com/openshift/apiserver-library-go affected?
What is the CVSS score of CVE-2023-1260?
What CWE is associated with CVE-2023-1260?
How can I check Go dependencies for CVE-2023-1260?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-92hx-3mh6-hc49",
"modified" : "2024-05-03T20:24:51Z",
"published" : "2023-09-24T03:30:20Z",
"aliases" : [ "CVE-2023-1260" ],
"summary" : "kube-apiserver authentication bypass vulnerability",
"details" : "An authentication bypass vulnerability was discovered in kube-apiserver. This issue could allow a remote, authenticated attacker who has been given permissions \"update, patch\" the \"pods/ephemeralcontainers\" subresource beyond what the default is. They would then need to create a new pod or patch one that they already have access to. This might allow evasion of SCC admission restrictions, thereby gaining control of a privileged pod.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openshift/apiserver-library-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20230621"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-1260"
}, {
"type" : "WEB",
"url" : "https://github.com/openshift/apiserver-library-go/commit/a994128188486d2dce99a528fbcc017d276081e0"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:3976"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:4093"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:4312"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:4898"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:5008"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2023-1260"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2176267"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-92hx-3mh6-hc49"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openshift/apiserver-library-go"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20231020-0010"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-288" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-25T18:32:19Z",
"nvd_published_at" : "2023-09-24T01:15:42Z"
}
}