All CVEs / Ghinstallation Project
CVE-2022-39304Ghinstallation Project Ghinstallation
Medium 4.7
Follow: this CVE · Ghinstallation Project · Ghinstallation Project Ghinstallation We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.7
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 21
- Auth required
- Yes
- Published
- Dec 20, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-209
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
ghinstallation provides transport, which implements http.RoundTripper to provide authentication as an installation for GitHub Apps. In ghinstallation version 1, when the request to refresh an installation token failed, the HTTP request and response would be returned for debugging. The request contained the bearer JWT for the App, and was returned back to clients. This token is short lived (10 minute maximum). This issue has been patched and is available in version 2.0.0.
What to do
- Apply the vendor's security update for Ghinstallation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/bradleyfalzon/ghinstallation |
< 2.0.0 |
2.0.0 |
go get github.com/bradleyfalzon/ghinstallation@v2.0.0 |
| Go | github.com/bradleyfalzon/ghinstallation |
< 1.1.2-0.20210308182858-d24f14f8be70 |
1.1.2-0.20210308182858-d24f14f8be70 |
go get github.com/bradleyfalzon/ghinstallation@v1.1.2-0.20210308182858-d24f14f8be70 |
Per OSV / GitHub Advisories (GHSA-h4q8-96p6-jcgr, GO-2022-1178). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ghinstallation_project | ghinstallation | < 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- docs.github.com Technical Description Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory