Vulnerability Details : CVE-2022-23506
Spinnaker is an open source, multi-cloud continuous delivery platform for releasing software changes, and Spinnaker's Rosco microservice produces machine images. Rosco prior to versions 1.29.2, 1.28.4, and 1.27.3 does not property mask secrets generated via packer builds. This can lead to exposure of sensitive AWS credentials in packer log files. Versions 1.29.2, 1.28.4, and 1.27.3 of Rosco contain fixes for this issue. A workaround is available. It's recommended to use short lived credentials via role assumption and IAM profiles. Additionally, credentials can be set in `/home/spinnaker/.aws/credentials` and `/home/spinnaker/.aws/config` as a volume mount for Rosco pods vs. setting credentials in roscos bake config properties. Last even with those it's recommend to use IAM Roles vs. long lived credentials. This drastically mitigates the risk of credentials exposure. If users have used static credentials, it's recommended to purge any bake logs for AWS, evaluate whether AWS_ACCESS_KEY, SECRET_KEY and/or other sensitive data has been introduced in log files and bake job logs. Then, rotate these credentials and evaluate potential improper use of those credentials.
Products affected by CVE-2022-23506
- cpe:2.3:a:linuxfoundation:spinnaker:*:*:*:*:*:*:*:*
- cpe:2.3:a:linuxfoundation:spinnaker:*:*:*:*:*:*:*:*
- cpe:2.3:a:linuxfoundation:spinnaker:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-23506
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 49 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-23506
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
4.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
2.8
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2022-23506
-
Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-23506
-
https://github.com/spinnaker/rosco/commit/e80cfaa1abfb3a0e9026d45d6027291bfb815daf
Merge pull request from GHSA-wqq8-664f-54hh · spinnaker/rosco@e80cfaa · GitHubPatch;Third Party Advisory
-
https://github.com/spinnaker/spinnaker/security/advisories/GHSA-2233-cqj8-j2q5
improper log masking on AWS Packer builds · Advisory · spinnaker/spinnaker · GitHubMitigation;Third Party Advisory
Jump to