GHSA-rq5c-hvw6-8pr7MediumCVSS 4.0

Improper log output when using GitHub Status Notifications in spinnaker

Published
August 29, 2023
Last Modified
November 6, 2023

🔗 CVE IDs covered (1)

📋 Description

Impact

ONLY IMPACTS those use GitHub Status Notifications

Log output when updating GitHub status is improperly set to FULL always. It's recommended to apply the patch and rotate the GitHub token used for github status notifications. Given that this would output github tokens to a log system, the risk is slightly higher than a "low" since token exposure could grant elevated access to repositories outside of control. If using READ restricted tokens, the exposure is such that the token itself could be used to access resources otherwise restricted from reads.

Patches

Patch is in progress. https://github.com/spinnaker/echo/pull/1316

Workarounds

Disable GH Status Notifications. Filter your logs for Echo log data. Use read-only tokens that are limited in scope.

References

sig-security in slack: https://spinnakerteam.slack.com/archives/CFN8F5UR2

🎯 Affected products4

  • go/github.com/spinnaker/spinnaker:< 1.28.8
  • go/github.com/spinnaker/spinnaker:>= 1.29.0, < 1.29.6
  • go/github.com/spinnaker/spinnaker:>= 1.30.0, < 1.30.3
  • go/github.com/spinnaker/spinnaker:>= 1.31.0, < 1.31.1

🔗 References (4)