Lucene search

K
githubGitHub Advisory DatabaseGHSA-RQ5C-HVW6-8PR7
HistoryAug 29, 2023 - 5:35 p.m.

Improper log output when using GitHub Status Notifications in spinnaker

2023-08-2917:35:55
CWE-532
GitHub Advisory Database
github.com
21
github
spinnaker
log output
security risk
patch
token exposure
read-only tokens

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS

0.001

Percentile

27.9%

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 configurations

Vulners
Node
spinnakerspinnakerRange1.31.01.31.1
OR
spinnakerspinnakerRange1.30.01.30.3
OR
spinnakerspinnakerRange1.29.01.29.6
OR
spinnakerspinnakerRange<1.28.8
VendorProductVersionCPE
spinnakerspinnaker*cpe:2.3:a:spinnaker:spinnaker:*:*:*:*:*:*:*:*

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS

0.001

Percentile

27.9%

Related for GHSA-RQ5C-HVW6-8PR7