ADVISORIES

GitHub Advisory Database

GHSA-h3qp-hwvr-9xcq

Octo STS Unauthenticated SSRF by abusing fields in OpenID Connect tokens

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 and redact logging.

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

Affected packages

EcosystemPackageAffected versions
Gogithub.com/octo-sts/app
All versions before 0.5.3 (fixed in 0.5.3)

References