cve.bz

CVE-2024-54132

6.3 mediumEPSS 0.6%

Medium (6.3). EPSS 0.6% chance of exploitation in the next 30 days. Fixed in github.com/cli/cli/v2 2.63.1.

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.

Severity

CVSS 4.0

6.3 medium
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/U:Green
EPSS
0.6% chance of exploitation in the next 30 days; higher than 50% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2m9h-r57g-45pjGogithub.com/cli/cli/v2<2.63.12.63.1
GHSA-2m9h-r57g-45pjGogithub.com/cli/cli<=1.14.0no fix published
GO-2024-3310Gogithub.com/cli/cliall versionsno fix published
GO-2024-3310Gogithub.com/cli/cli/v2<2.63.12.63.1

References

Check your stackJSON