Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/karmada-io/karmada: GHSA-cwrh-575j-8vr3 #3363

Closed
GoVulnBot opened this issue Jan 3, 2025 · 1 comment
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-cwrh-575j-8vr3 references a vulnerability in the following Go modules:

Module
github.com/karmada-io/karmada

Description:

Impact

What kind of vulnerability is it? Who is impacted?

Both in karmadactl and karmada-operator, it is possible to supply a filesystem path, or an HTTP(s) URL to retrieve the custom resource definitions(CRDs) needed by karmada. The CRDs are downloaded as a gzipped tarfile and are vulnerable to a TarSlip vulnerability. An attacker able to supply a malicious CRD file into a karmada initialization could write arbitrary files in arbitrary paths of the filesystem.

Patches

Has the problem been patched? What versions should users upgrade to?

From karmada version v1.12.0, when process...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/karmada-io/karmada
      versions:
        - fixed: 1.12.0
      vulnerable_at: 1.12.0-beta.0
summary: Karmada Tar Slips in CRDs archive extraction in github.com/karmada-io/karmada
cves:
    - CVE-2024-56514
ghsas:
    - GHSA-cwrh-575j-8vr3
references:
    - advisory: https://github.com/advisories/GHSA-cwrh-575j-8vr3
    - advisory: https://github.com/karmada-io/karmada/security/advisories/GHSA-cwrh-575j-8vr3
    - fix: https://github.com/karmada-io/karmada/commit/40ec488b18a461ab0f871d2c9ec8665b361f0d50
    - fix: https://github.com/karmada-io/karmada/commit/f78e7e2a3d02bed04e9bc7abd3ae7b3ac56862d2
    - fix: https://github.com/karmada-io/karmada/pull/5703
    - fix: https://github.com/karmada-io/karmada/pull/5713
source:
    id: GHSA-cwrh-575j-8vr3
    created: 2025-01-03T17:01:19.552865497Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/640916 mentions this issue: data/reports: add 10 unreviewed reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants