VDB
Sign up
HIGH8.6

GHSA-h3qp-hwvr-9xcq

Octo STS Unauthenticated SSRF by abusing fields in OpenID Connect tokens

Quick fix

GHSA-h3qp-hwvr-9xcq — github.com/octo-sts/app: upgrade to the fixed version with the command below.

go get github.com/octo-sts/app@v0.5.3

Details

## Summary

Octo-STS versions before v0.5.3 are vulnerable to unauthenticated SSRF by abusing fields in OpenID Connect tokens. Malicious tokens were shown to trigger internal network requests which could reflect error logs with sensitive information.

Please upgrade to v0.5.3 to resolve this issue. This version includes patch sets to [sanitize input](https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92) and [redact logging](https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd).

Many thanks to @vicevirus for reporting this issue and for assisting with remediation review.

## References

- https://github.com/octo-sts/app/security/advisories/GHSA-h3qp-hwvr-9xcq - https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92 - https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/octo-sts/app
Introduced in: 0Fixed in: 0.5.3
Fixgo get github.com/octo-sts/app@v0.5.3

References