Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35183

MEDIUM 4.4EPSS 15%

wolfictl leaks GitHub tokens to remote non-GitHub git servers

Also known as GHSA-8fg7-hp93-qhvr, GO-2024-2863

Mitigation

  • Upgrade github.com/wolfi-dev/wolfictl to 0.16.10 or later.

Who should check

  • Projects that depend on Go package github.com/wolfi-dev/wolfictl (< 0.16.10)
  • Anyone running wolfi-dev wolfictl < 0.16.10

Vulnerability facts

Affected
github.com/wolfi-dev/wolfictl < 0.16.10
Fixed in
0.16.10
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-552, CWE-668
Published
Modified

Description

wolfictl is a command line tool for working with Wolfi. A git authentication issue in versions prior to 0.16.10 allows a local user’s GitHub token to be sent to remote servers other than `github.com`. Most git-dependent functionality in wolfictl relies on its own `git` package, which contains centralized logic for implementing interactions with git repositories. Some of this functionality requires authentication in order to access private repositories. A central function `GetGitAuth` looks for a GitHub token in the environment variable `GITHUB_TOKEN` and returns it as an HTTP basic auth object to be used with the `github.com/go-git/go-git/v5` library. Most callers (direct or indirect) of `GetGitAuth` use the token to authenticate to github.com only; however, in some cases callers were passing this authentication without checking that the remote git repository was hosted on github.com. This behavior has existed in one form or another since commit 0d06e1578300327c212dda26a5ab31d09352b9d0 - committed January 25, 2023. This impacts anyone who ran the `wolfictl check update` commands with a Melange configuration that included a `git-checkout` directive step that referenced a git repository not hosted on github.com. This also impacts anyone who ran `wolfictl update <url>` with a remote URL outside of github.com. Additionally, these subcommands must have run with the `GITHUB_TOKEN` environment variable set to a valid GitHub token. Users should upgrade to version 0.16.10 to receive a patch.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/wolfi-dev/wolfictl< 0.16.100.16.10osv
wolfi-dev wolfictl< 0.16.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35183. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35183.md
Affected: github.com/wolfi-dev/wolfictl < 0.16.10
Fixed in: 0.16.10

Steps:
1. Search this machine and project for github.com/wolfi-dev/wolfictl (Go), wolfi-dev wolfictl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35183 being exploited?

There is no confirmed exploitation: CVE-2024-35183 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-35183?

Medium: CVSS 4.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-35183?

github.com/wolfi-dev/wolfictl < 0.16.10.

Is there a fix for CVE-2024-35183?

Yes. Fixed in 0.16.10. Upgrade github.com/wolfi-dev/wolfictl to 0.16.10 or later.

How do I check if I'm affected by CVE-2024-35183?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors