Protection Mechanism Failure in go-gh - CVE-2024-53859

 

Protection Mechanism Failure in go-gh - CVE-2024-53859

Published: March 25, 2025


Vulnerability identifier: #VU106028
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-53859
CWE-ID: CWE-693
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to GitHub host security boundary in auth.TokenForHost. A remote attacker can disclosure of authentication tokens intended for GitHub hosts to non-GitHub hosts when within a codespace.


Affected software

go-gh
Ubuntu
golang-github-cli-go-gh-v2-dev (Ubuntu package)

How to mitigate CVE-2024-53859

Install updates from vendor's website.

go-gh - update to 2.11.1
golang-github-cli-go-gh-v2-dev (Ubuntu package) - addressed in versions Ubuntu Pro, 2.6.0-1ubuntu0.24.10.1

External References

Related Security Bulletins