Skip to content

Commit f61706e

Browse files
committed
data/reports: add GO-2024-3295
- data/reports/GO-2024-3295.yaml Fixes #3295 Change-Id: I27d3916bb3ce9286740503899d61aa8b6ee48916 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/635225 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Tatiana Bradley <[email protected]> Reviewed-by: Zvonimir Pavlinovic <[email protected]>
1 parent 71faa81 commit f61706e

File tree

2 files changed

+121
-0
lines changed

2 files changed

+121
-0
lines changed

data/osv/GO-2024-3295.json

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2024-3295",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2024-53859",
8+
"GHSA-55v3-xh23-96gh"
9+
],
10+
"summary": "Violation of GitHub host security boundary when sourcing authentication token within a codespace in github.com/cli/go-gh",
11+
"details": "Violation of GitHub host security boundary when sourcing authentication token within a codespace in github.com/cli/go-gh",
12+
"affected": [
13+
{
14+
"package": {
15+
"name": "github.com/cli/go-gh",
16+
"ecosystem": "Go"
17+
},
18+
"ranges": [
19+
{
20+
"type": "SEMVER",
21+
"events": [
22+
{
23+
"introduced": "0"
24+
}
25+
]
26+
}
27+
],
28+
"ecosystem_specific": {}
29+
},
30+
{
31+
"package": {
32+
"name": "github.com/cli/go-gh/v2",
33+
"ecosystem": "Go"
34+
},
35+
"ranges": [
36+
{
37+
"type": "SEMVER",
38+
"events": [
39+
{
40+
"introduced": "0"
41+
},
42+
{
43+
"fixed": "2.11.1"
44+
}
45+
]
46+
}
47+
],
48+
"ecosystem_specific": {
49+
"imports": [
50+
{
51+
"path": "github.com/cli/go-gh/v2/pkg/auth",
52+
"symbols": [
53+
"TokenForHost",
54+
"tokenForHost"
55+
]
56+
}
57+
]
58+
}
59+
}
60+
],
61+
"references": [
62+
{
63+
"type": "ADVISORY",
64+
"url": "https://github.com/cli/go-gh/security/advisories/GHSA-55v3-xh23-96gh"
65+
},
66+
{
67+
"type": "WEB",
68+
"url": "https://docs.github.com/en/apps/using-github-apps/reviewing-and-revoking-authorization-of-github-apps#reviewing-your-authorized-github-apps"
69+
},
70+
{
71+
"type": "WEB",
72+
"url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log"
73+
},
74+
{
75+
"type": "WEB",
76+
"url": "https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/identifying-audit-log-events-performed-by-an-access-token"
77+
},
78+
{
79+
"type": "WEB",
80+
"url": "https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens"
81+
},
82+
{
83+
"type": "WEB",
84+
"url": "https://github.com/cli/go-gh/blob/71770357e0cb12867d3e3e288854c0aa09d440b7/pkg/auth/auth.go#L73-L77"
85+
}
86+
],
87+
"database_specific": {
88+
"url": "https://pkg.go.dev/vuln/GO-2024-3295",
89+
"review_status": "REVIEWED"
90+
}
91+
}

data/reports/GO-2024-3295.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
id: GO-2024-3295
2+
modules:
3+
- module: github.com/cli/go-gh
4+
- module: github.com/cli/go-gh/v2
5+
versions:
6+
- fixed: 2.11.1
7+
vulnerable_at: 2.11.0
8+
packages:
9+
- package: github.com/cli/go-gh/v2/pkg/auth
10+
symbols:
11+
- tokenForHost
12+
- TokenForHost
13+
summary: |-
14+
Violation of GitHub host security boundary when sourcing
15+
authentication token within a codespace in github.com/cli/go-gh
16+
cves:
17+
- CVE-2024-53859
18+
ghsas:
19+
- GHSA-55v3-xh23-96gh
20+
references:
21+
- advisory: https://github.com/cli/go-gh/security/advisories/GHSA-55v3-xh23-96gh
22+
- web: https://docs.github.com/en/apps/using-github-apps/reviewing-and-revoking-authorization-of-github-apps#reviewing-your-authorized-github-apps
23+
- web: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log
24+
- web: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/identifying-audit-log-events-performed-by-an-access-token
25+
- web: https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
26+
- web: https://github.com/cli/go-gh/blob/71770357e0cb12867d3e3e288854c0aa09d440b7/pkg/auth/auth.go#L73-L77
27+
source:
28+
id: GHSA-55v3-xh23-96gh
29+
created: 2024-12-11T16:32:41.665676-05:00
30+
review_status: REVIEWED

0 commit comments

Comments
 (0)