github.com/bradleyfalzon/ghinstallation
Affected
- introduced
0, fixed2.0.0(semver)
Fixed versions
2.0.0
Fix
- Fixed version
2.0.0go get github.com/bradleyfalzon/[email protected]
Advisory
Also known as: CVE-2022-39304, GO-2022-1178
ghinstallation returns app JWT in error responses
Impact
In ghinstallation v1, when the request to refresh an installation token failed, the HTTP request and response would be returned for debugging.
https://github.com/bradleyfalzon/ghinstallation/blob/24e56b3fb7669f209134a01eff731d7e2ef72a5c/transport.go#L172-L174
The request contained the bearer JWT for the App, and was returned back to clients. This token is short lived (10 minute maximum).
Patches
References
_Are there any links users can visit to find out more?_
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 2.0.0 (semver)2.0.0
2.0.0go get github.com/bradleyfalzon/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0