CVE-2024-54132
Reported by github_m · Published December 4, 2024
github.com/cli/cli/v2 is fixed in 2.63.1 (Go Modules)
The GitHub CLI is GitHub’s official command line tool. A security vulnerability has been identified in GitHub CLI that could create or overwrite files in unintended directories when users download a malicious GitHub Actions workflow artifact through gh run download. This vulnerability stems from a GitHub Actions workflow artifact named .. when downloaded using gh run download. The artifact name and --dir flag are used to determine the artifact’s download path. When the artifact is named .., the resulting files within the artifact are extracted exactly 1 directory higher than the specified --dir flag value. This vulnerability is fixed in 2.63.1.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/cli/cli/v2 | Go Modules | 2.63.1 |
| github.com/cli/cli | Go Modules | 1.14.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| cli | cli | < 2.63.1 |
| github.com | cli/cli/v2 | 0 |
| cli | cli | 0 |
| chainguard | gh | 0 |
| wolfi | gh | 0 |
| github.com | cli/cli | 0 |
Timeline
- Dec 4, 2024 CVE Published
- Dec 4, 2024 PoC Published (2 in total, the first dated here)
- Dec 5, 2024 EPSS Score (30 in total, the first dated here)
- Jan 25, 2025 Coalition ESS Score (5 in total, the first dated here)
- Oct 31, 2025 CVE Updated
- Dec 31, 2025 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-54132
vulnetix vdb fixes CVE-2024-54132
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-54132/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/cli/cli/security/advisories/GHSA-2m9h-r57g-45pj x_refsource_CONFIRM
- https://github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-54132 advisory
- https://github.com/advisories/GHSA-2m9h-r57g-45pj advisory
- https://github.com/cli/cli url