CVE-2023-22480: Github.com/KubeOperator/KubeOperator KubeOperator Allows Unauthorized Access To Vulnerability

HIGH
Advisory Identifier: GHSA-jxgp-jgh3-8jc8
CVSS 7.3
CWE-285 CWE-863
Published
Advisory Summary

CVE-2023-22480 is a HIGH (CVSS 7.3) kubeoperator allows unauthorized access to vulnerability (CWE-285: Improper Authorization) affecting Github.com/KubeOperator/KubeOperator libraries in the Go ecosystem. The issue involves kubeoperator allows unauthorized access to system api. Remediation is available in the latest vendor maintenance releases.

CVE-2023-22480 at a Glance

CVE Identifier CVE-2023-22480
GHSA Identifier GHSA-jxgp-jgh3-8jc8
Severity HIGH
CVSS v3.1 Base Score 7.3
CWE Classification CWE-285: Improper Authorization
Affected Product Github.com/KubeOperator/KubeOperator
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2023-22480

To remediate this vulnerability, upgrade all affected Github.com/KubeOperator/KubeOperator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/KubeOperator/KubeOperator fixed: Latest secure release
Upgrade github.com/KubeOperator/KubeOperator to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/KubeOperator/KubeOperator

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-22480, inspect your project dependencies for Github.com/KubeOperator/KubeOperator:

inspect dependencies for github.com/KubeOperator/KubeOperator

Analyze the terminal output to locate any version of Github.com/KubeOperator/KubeOperator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Github.com/KubeOperator/KubeOperator, 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

### Summary Unauthorized access refers to the ability to bypass the system's preset permission settings to access some API interfaces. The attack exploits a flaw in how online applications handle routing permissions. ### Affected Version <= v3.16.3 ### Patches The vulnerability has been fixed in v3.16.3. https://github.com/KubeOperator/KubeOperator/commit/7ef42bf1c16900d13e6376f8be5ecdbfdfb44aaf ### Workarounds It is recommended to upgrade the version to v3.16.4. ### For more information If you have any questions or comments about this advisory, please open an issue. ### References https://github.com/KubeOperator/KubeOperator/releases/tag/v3.16.4

CVE-2023-22480 Affected Github.com/KubeOperator/KubeOperator Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/KubeOperator/KubeOperator
Go
≤ 3.16.3

References

Frequently Asked Questions

What is CVE-2023-22480?
CVE-2023-22480 is a security vulnerability in Github.com/KubeOperator/KubeOperator involving KubeOperator allows unauthorized access to system API under CWE-285: Improper Authorization.
Which Github.com/KubeOperator/KubeOperator versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/KubeOperator/KubeOperator.
What version fixes CVE-2023-22480?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/KubeOperator/KubeOperator affected?
Yes, github.com/KubeOperator/KubeOperator is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-22480?
CVE-2023-22480 has a CVSS v3.1 base score of 7.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2023-22480?
CVE-2023-22480 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Go dependencies for CVE-2023-22480?
Run the dependency tree command: 'inspect dependencies for github.com/KubeOperator/KubeOperator'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jxgp-jgh3-8jc8",
  "modified" : "2023-01-24T23:29:09Z",
  "published" : "2023-01-09T21:57:54Z",
  "aliases" : [ "CVE-2023-22480" ],
  "summary" : "KubeOperator allows unauthorized access to system API",
  "details" : "### Summary\n\nUnauthorized access refers to the ability to bypass the system's preset permission settings to access some API interfaces. The attack exploits a flaw in how online applications handle routing permissions.\n\n### Affected Version\n\n<= v3.16.3\n\n### Patches\n\nThe vulnerability has been fixed in v3.16.3.\n\nhttps://github.com/KubeOperator/KubeOperator/commit/7ef42bf1c16900d13e6376f8be5ecdbfdfb44aaf\n\n### Workarounds\n\nIt is recommended to upgrade the version to v3.16.4.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please open an issue.\n\n### References\n\nhttps://github.com/KubeOperator/KubeOperator/releases/tag/v3.16.4",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/KubeOperator/KubeOperator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.16.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/KubeOperator/KubeOperator/security/advisories/GHSA-jxgp-jgh3-8jc8"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-22480"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/KubeOperator/KubeOperator/commit/7ef42bf1c16900d13e6376f8be5ecdbfdfb44aaf"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/KubeOperator/KubeOperator"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/KubeOperator/KubeOperator/releases/tag/v3.16.4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285", "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-09T21:57:54Z",
    "nvd_published_at" : "2023-01-14T01:15:00Z"
  }
}