目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-53859— go-gh 信息泄露漏洞

一分钟漏洞结论

影响对象
cli go-gh
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

go-gh是GitHub CLI开源的一个 Go 模块的集合。用于从命令行与 gh 和 GitHub API 交互。 go-gh 2.11.1之前版本存在信息泄露漏洞,该漏洞源于可能会将用于GitHub主机的身份验证令牌泄露给非GitHub主机。

CVSS 6.5 · Medium EPSS 0.53% · P43

可能的 ATT&CK 技术 1 AI

T1530 · Data from Cloud Storage
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-53859 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
go-gh `auth.TokenForHost` violates GitHub host security boundary within a codespace
来源: CVE Program / CVE List V5
Vulnerability Description
go-gh is a Go module for interacting with the `gh` utility and the GitHub API from the command line. A security vulnerability has been identified in `go-gh` that could leak authentication tokens intended for GitHub hosts to non-GitHub hosts when within a codespace. `go-gh` sources authentication tokens from different environment variables depending on the host involved: 1. `GITHUB_TOKEN`, `GH_TOKEN` for GitHub.com and ghe.com and 2. `GITHUB_ENTERPRISE_TOKEN`, `GH_ENTERPRISE_TOKEN` for GitHub Enterprise Server. Prior to version `2.11.1`, `auth.TokenForHost` could source a token from the `GITHUB_TOKEN` environment variable for a host other than GitHub.com or ghe.com when within a codespace. In version `2.11.1`, `auth.TokenForHost` will only source a token from the `GITHUB_TOKEN` environment variable for GitHub.com or ghe.com hosts. Successful exploitation could send authentication token to an unintended host. This issue has been addressed in version 2.11.1 and all users are advised to upgrade. Users are also advised to regenerate authentication tokens and to review their personal security log and any relevant audit logs for actions associated with their account or enterprise.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
信息暴露
来源: CVE Program / CVE List V5
Vulnerability Title
go-gh 信息泄露漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
go-gh是GitHub CLI开源的一个 Go 模块的集合。用于从命令行与 gh 和 GitHub API 交互。 go-gh 2.11.1之前版本存在信息泄露漏洞,该漏洞源于可能会将用于GitHub主机的身份验证令牌泄露给非GitHub主机。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
cli go-gh < 2.11.1 -

二、漏洞 CVE-2024-53859 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-53859 的情报信息

请登录查看更多情报信息。

CVE-2024-53859 厂商安全公告 (1)

CVE-2024-53859 厂商页面 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-53859

暂无评论


发表评论