This report was translated by AI; nobody has reviewed the translation yet. Original language: Czech.

[TLP:CLEAR] GitHub CLI fixes a high-severity vulnerability

GitHub CLI version 2.62.0 fixes a high-severity vulnerability [1].

GitHub CLI - remote code execution (CVE-2024-52308)
CVSS 8.0 (High)

Allows an authenticated remote attacker, when a user connects to a malicious Codespace SSH server and uses the commands 'gh codespace ssh' or 'gh codespace logs', to achieve remote code execution [1].

The vulnerability is present in product:

  • GitHub CLI; <= 2.61.0

CVSS: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

More information:

  • CVE-2024-52308 at cve.org, NVD
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') at cwe.mitre.org

The vulnerability was publicly disclosed 14. 11. 2024.


By CESNET, z.s.p.o. Michaela Jarošová on 22. 11. 2024.

CESNET, z.s.p.o. Logo