GO-2022-1178

Source
https://pkg.go.dev/vuln/GO-2022-1178
Import Source
https://vuln.go.dev/ID/GO-2022-1178.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-1178
Aliases
Published
2022-12-22T21:01:01Z
Modified
2024-05-20T16:03:47Z
Summary
JWT leak in github.com/bradleyfalzon/ghinstallation
Details

Errors returned by ghinstallation.Transport can include the JWT used for the failed operation. If the error is exposed to an untrusted party, this JWT could be extracted and used to authenticate further requests.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2022-1178",
    "review_status": "REVIEWED"
}
References
Credits
    • @Miskerest

Affected packages

Go / github.com/bradleyfalzon/ghinstallation

Package

Name
github.com/bradleyfalzon/ghinstallation
View open source insights on deps.dev
Purl
pkg:golang/github.com/bradleyfalzon/ghinstallation

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.2-0.20210308182858-d24f14f8be70

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/bradleyfalzon/ghinstallation",
            "symbols": [
                "Transport.RoundTrip",
                "Transport.Token",
                "Transport.refreshToken"
            ]
        }
    ]
}