# CVE-2022-23506: Spinnaker's Rosco microservice vulnerable to improper log masking on AWS Packer builds

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.68% (percentile 47, 2026-11-26)
- **CWE:** CWE-532
- **Published:** 2023-01-03T20:04:25.392Z
- **Modified:** 2026-06-17T04:30:15.520Z

## Who should check

- Anyone running spinnaker \< 1.27.3; \>= 1.28.0, \< 1.28.4; \>= 1.29.0, \< 1.29.2

## Description

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.

## Affected and fixed versions

- spinnaker: \< 1.27.3; \>= 1.28.0, \< 1.28.4; \>= 1.29.0, \< 1.29.2 (cvelist)

## Mitigation

- Upgrade spinnaker to 1.29.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-23506. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-23506.md
Affected: spinnaker < 1.27.3; >= 1.28.0, < 1.28.4; >= 1.29.0, < 1.29.2
Fixed in: spinnaker 1.27.3, spinnaker 1.28.4, spinnaker 1.29.2

Steps:
1. Search this machine and project for spinnaker: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-23506 being exploited?

There is no confirmed exploitation: CVE-2022-23506 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-23506?

Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2022-23506?

spinnaker \< 1.27.3; \>= 1.28.0, \< 1.28.4; \>= 1.29.0, \< 1.29.2.

### Is there a fix for CVE-2022-23506?

Yes. Fixed in spinnaker 1.27.3, spinnaker 1.28.4, spinnaker 1.29.2. Upgrade spinnaker to 1.29.2 or later.

### How do I check if I'm affected by CVE-2022-23506?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/spinnaker/spinnaker/security/advisories/GHSA-2233-cqj8-j2q5>
- patch: <https://github.com/spinnaker/rosco/commit/e80cfaa1abfb3a0e9026d45d6027291bfb815daf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-23506>

HTML: <https://flawdb.com/CVE-2022-23506> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-23506>
