CVE-2023-33190: Github.com/labring/sealos Improper Configuration Of RBAC Permissions Vulnerability
CRITICALCVE-2023-33190 is a CRITICAL (CVSS 9.9) improper configuration of rbac permissions vulnerability (CWE-287: Improper Authentication) affecting Github.com/labring/sealos libraries in the Go ecosystem. The issue involves improper configuration of rbac permissions obtaining cluster control permissions. Remediation is available by upgrading affected packages to version 4.2.1-rc4.
CVE-2023-33190 at a Glance
Security Impact
CVSS: 9.9
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:C/C:H/I:H/A:H).
How to Fix CVE-2023-33190
To remediate this vulnerability, upgrade all affected Github.com/labring/sealos 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/labring/sealos to 4.2.1-rc4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/labring/sealos
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-33190, inspect your project dependencies for Github.com/labring/sealos:
inspect dependencies for github.com/labring/sealos
Analyze the terminal output to locate any version of Github.com/labring/sealos in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.1-rc4), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/labring/sealos, 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-33190 Affected Github.com/labring/sealos Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/labring/sealos
|
Go |
< 4.2.1-rc4
|
4.2.1-rc4
|
References
Frequently Asked Questions
What is CVE-2023-33190?
Which Github.com/labring/sealos versions are affected?
What version fixes CVE-2023-33190?
Is github.com/labring/sealos affected?
What is the CVSS score of CVE-2023-33190?
What CWE is associated with CVE-2023-33190?
How can I check Go dependencies for CVE-2023-33190?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-74j8-w7f9-pp62",
"modified" : "2023-06-30T20:25:52Z",
"published" : "2023-06-30T20:25:52Z",
"aliases" : [ "CVE-2023-33190" ],
"summary" : "Improper configuration of RBAC permissions obtaining cluster control permissions",
"details" : "### Summary\nImproper configuration of RBAC permissions resulted in obtaining cluster control permissions, which could control the entire cluster deployed with Sealos, as well as hundreds of pods and other resources within the cluster.\n\n### Details\ndetail's is disable by publish.\n\n### PoC\ndetail's is disable by publish.\n\n### Impact\n+ sealos public cloud user\n+ CWE-287 Improper Authentication\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/labring/sealos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.2.1-rc4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/labring/sealos/security/advisories/GHSA-74j8-w7f9-pp62"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33190"
}, {
"type" : "WEB",
"url" : "https://github.com/labring/sealos/commit/4cdf52e55666864e5f90ed502e9fc13e18985b7b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/labring/sealos"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287", "CWE-863" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-30T20:25:52Z",
"nvd_published_at" : "2023-06-29T19:15:08Z"
}
}