Live threats

All CVEs / Ghinstallation Project

CVE-2022-39304Ghinstallation Project Ghinstallation

Medium 4.7

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ghinstallation.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
ghinstallation_projectghinstallation< 2.0.0

Official sources

References

Links published by the sources. Open them with care.