USN-7130-1: GitHub CLI vulnerability

Publication date

26 November 2024

Overview

GitHub CLI could be made to run programs as your login if it connected to a malicious server.


Packages

  • gh - GitHub CLI, GitHub’s official command line tool

Details

It was discovered that GitHub CLI incorrectly handled username
validation. An attacker could possibly use this issue to perform
remote code execution if the user connected to a malicious server.
(CVE-2024-52308)

It was discovered that GitHub CLI incorrectly handled username
validation. An attacker could possibly use this issue to perform
remote code execution if the user connected to a malicious server.
(CVE-2024-52308)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.10 oracular gh –  2.46.0-1ubuntu0.2
24.04 noble gh –  2.45.0-1ubuntu0.2+esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›