{"schemaVersion":3,"id":"CVE-2024-54132","aliases":["UBUNTU-CVE-2024-54132","DEBIAN-CVE-2024-54132","CGA-75r5-qm6v-93vx","CGA-r2fx-6fhp-688w","GHSA-2m9h-r57g-45pj","GO-2024-3310"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2024-12-04T15:29:07.426Z","modified":"2024-12-04T21:40:02.517Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.3,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00629,"percentile":0.49191,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00629},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00629,"percentile":0.49191}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00629,"percentile":0.49191}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"chainguard","product":"gh","name":"gh","label":"gh","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gh","purlType":"apk","versions":[{"text":"< 2.63.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.63.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"gh","name":"gh","label":"gh","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/gh","purlType":"apk","versions":[{"text":"< 2.63.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.63.1-r0","eol":null,"hubHref":null},{"vendor":"cli","product":"cli","name":"cli","label":"cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.63.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.63.1","eol":null,"hubHref":"/vendor/cli/cli"},{"vendor":"debian","product":"gh","name":"gh","label":"gh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/gh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.46.0-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.46.0-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gh","name":"gh","label":"gh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gh","purlType":"deb","versions":[{"text":"< 2.45.0-1ubuntu0.3+esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.45.0-1ubuntu0.3+esm2","eol":null,"hubHref":null},{"vendor":"github.com/cli","product":"cli","name":"github.com/cli/cli","label":"cli","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/cli/cli","purlType":"golang","versions":[{"text":"≤ 1.14.0","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 1.14.0 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/cli/cli","product":"v2","name":"github.com/cli/cli/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/cli/cli/v2","purlType":"golang","versions":[{"text":"< 2.63.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.63.1","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-2m9h-r57g-45pj","label":"github.com/cli/cli/security/advisories/GHSA-2m9h-r57g-45pj","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","WEB"]},{"url":"https://github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932","label":"github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-54132","label":"ubuntu.com/security/CVE-2024-54132","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-54132","label":"www.cve.org/CVERecord?id=CVE-2024-54132","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8012-1","label":"ubuntu.com/security/notices/USN-8012-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-54132","label":"security-tracker.debian.org/tracker/CVE-2024-54132","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54132.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54132.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54132","label":"nvd.nist.gov/vuln/detail/CVE-2024-54132","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/cli/cli","label":"github.com/cli/cli","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:14567-1","USN-8012-1"],"duplicates":[],"related":["CGA-4W72-PP6P-7CQ7","OPENSUSE-SU-2024:14567-1","USN-8012-1"]},"timeline":[{"kind":"published","date":"2024-12-04T15:29:07.426Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-12-04T21:40:02.517Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:40:36.926Z","stale":false,"partial":false}}