ghinstallation returns app JWT in error responses
Moderate severity
GitHub Reviewed
Published
Dec 19, 2022
in
bradleyfalzon/ghinstallation
•
Updated Aug 28, 2023
Package
Affected versions
< 2.0.0
Patched versions
2.0.0
Description
Published to the GitHub Advisory Database
Dec 19, 2022
Reviewed
Dec 19, 2022
Published by the National Vulnerability Database
Dec 20, 2022
Last updated
Aug 28, 2023
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:
References