Advisory

GO-2022-1178

Also known as: CVE-2022-39304, GHSA-h4q8-96p6-jcgr

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.

Severity

Not rated by the source.

Dates

Published
2022-12-22 21:01 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/bradleyfalzon/ghinstallation

Go · All systems

Affected

  • introduced 0, fixed 1.1.2-0.20210308182858-d24f14f8be70 (semver)

Fixed versions

1.1.2-0.20210308182858-d24f14f8be70

Fix

  • Fixed version 1.1.2-0.20210308182858-d24f14f8be70
    go 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

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences