CVE-2024-33396: Github.com/karmada io/karmada Karmada Vulnerable To Arbitrary Code Vulnerability

HIGH
Advisory Identifier: GHSA-wccg-v638-j9q2
CVSS 8.4
CWE-284
Published
Advisory Summary

CVE-2024-33396 is a HIGH (CVSS 8.4) karmada vulnerable to arbitrary code vulnerability (CWE-284: Improper Access Control) affecting Github.com/karmada io/karmada libraries in the Go ecosystem. The issue involves karmada vulnerable to arbitrary code execution via a crafted command. Remediation is available in the latest vendor maintenance releases.

CVE-2024-33396 at a Glance

CVE Identifier CVE-2024-33396
GHSA Identifier GHSA-wccg-v638-j9q2
Severity HIGH
CVSS v3.1 Base Score 8.4
CWE Classification CWE-284: Improper Access Control
Affected Product Github.com/karmada io/karmada
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.4

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

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2024-33396

To remediate this vulnerability, upgrade all affected Github.com/karmada io/karmada 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/karmada-io/karmada fixed: Latest secure release
Upgrade github.com/karmada-io/karmada 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/karmada-io/karmada

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-33396, inspect your project dependencies for Github.com/karmada io/karmada:

inspect dependencies for github.com/karmada-io/karmada

Analyze the terminal output to locate any version of Github.com/karmada io/karmada 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/karmada io/karmada, 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

An issue in karmada-io karmada v1.9.0 and before allows a local attacker to execute arbitrary code via a crafted command to get the token component.

CVE-2024-33396 Affected Github.com/karmada io/karmada Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/karmada-io/karmada
Go
≤ 1.9.0

References

Frequently Asked Questions

What is CVE-2024-33396?
CVE-2024-33396 is a security vulnerability in Github.com/karmada io/karmada involving karmada vulnerable to arbitrary code execution via a crafted command under CWE-284: Improper Access Control.
Which Github.com/karmada io/karmada versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/karmada-io/karmada.
What version fixes CVE-2024-33396?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/karmada-io/karmada affected?
Yes, github.com/karmada-io/karmada 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-2024-33396?
CVE-2024-33396 has a CVSS v3.1 base score of 8.4 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2024-33396?
CVE-2024-33396 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Go dependencies for CVE-2024-33396?
Run the dependency tree command: 'inspect dependencies for github.com/karmada-io/karmada'. 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-wccg-v638-j9q2",
  "modified" : "2024-07-03T20:12:34Z",
  "published" : "2024-05-02T21:30:29Z",
  "aliases" : [ "CVE-2024-33396" ],
  "summary" : "karmada vulnerable to arbitrary code execution via a crafted command ",
  "details" : "An issue in karmada-io karmada v1.9.0 and before allows a local attacker to execute arbitrary code via a crafted command to get the token component.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/karmada-io/karmada"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.9.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-33396"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/HouqiyuA/2b56a893c06553013982836abb77ba50"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/karmada-io/karmada"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-03T20:22:18Z",
    "nvd_published_at" : "2024-05-02T19:15:06Z"
  }
}