Vulnerability

CVE-2022-39304

mediumCVSS 3.1 4.7Published 20 Dec 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Ghinstallation Project ghinstallation

Weakness type

References

  • docs.github.com /en/developers/apps/building-github-apps/authenticating-wit…
  • github.com /bradleyfalzon/ghinstallation/blob/24e56b3fb7669f209134a01e…
  • github.com /bradleyfalzon/ghinstallation/commit/d24f14f8be70d94129d760…
  • github.com /bradleyfalzon/ghinstallation/security/advisories/GHSA-h4q8…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning