CVE-2022-23506

Source
https://cve.org/CVERecord?id=CVE-2022-23506
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23506.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23506
Aliases
  • GHSA-2233-cqj8-j2q5
Published
2023-01-03T20:04:25.392Z
Modified
2026-04-10T04:45:13.751943Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Spinnaker's Rosco microservice vulnerable to improper log masking on AWS Packer builds
Details

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 AWSACCESSKEY, 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.

Database specific
{
    "cwe_ids": [
        "CWE-532"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23506.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/spinnaker/rosco

Affected ranges

Type
GIT
Repo
https://github.com/spinnaker/rosco
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/spinnaker/rosco
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.5.0-20180115191204
0.5.0-20180119020631
v0.*
v0.10.0
v0.100.0
v0.101.0
v0.102.0
v0.103.0
v0.104.0
v0.105.0
v0.106.0
v0.107.0
v0.108.0
v0.109.0
v0.109.1
v0.109.2
v0.109.3
v0.11.0
v0.110.0
v0.110.1
v0.110.2
v0.111.0
v0.112.0
v0.113.0
v0.113.1
v0.114.0
v0.114.1
v0.114.2
v0.115.0
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.16.0
v0.17.0
v0.18.0
v0.19.0
v0.20.0
v0.21.0
v0.22.0
v0.23.0
v0.24.0
v0.25.0
v0.26.0
v0.27.0
v0.28.0
v0.29.0
v0.30.0
v0.31.0
v0.32.0
v0.33.0
v0.34.0
v0.35.0
v0.36.0
v0.37.0
v0.38.0
v0.39.0
v0.40.0
v0.41.0
v0.42.0
v0.43.0
v0.44.0
v0.45.0
v0.46.0
v0.47.0
v0.48.0
v0.49.0
v0.50.0
v0.51.0
v0.52.0
v0.53.0
v0.54.0
v0.55.0
v0.56.0
v0.57.0
v0.58.0
v0.59.0
v0.60.0
v0.61.0
v0.62.0
v0.63.0
v0.64.0
v0.65.0
v0.66.0
v0.67.0
v0.68.0
v0.69.0
v0.70.0
v0.71.0
v0.72.0
v0.73.0
v0.74.0
v0.75.0
v0.76.0
v0.77.0
v0.78.0
v0.79.0
v0.80.0
v0.81.0
v0.82.0
v0.83.0
v0.84.0
v0.85.0
v0.86.0
v0.87.0
v0.88.0
v0.89.0
v0.9.0
v0.90.0
v0.91.0
v0.92.0
v0.93.0
v0.94.0
v0.95.0
v0.96.0
v0.97.0
v0.98.0
v0.99.0
v1.*
v1.0.0
v1.1.0
v1.10.0
v1.11.0
v1.12.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.5.1
v1.6.0
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.8.0-rc.1
v1.8.0-rc.10
v1.8.0-rc.11
v1.8.0-rc.12
v1.8.0-rc.2
v1.8.0-rc.3
v1.8.0-rc.4
v1.8.0-rc.5
v1.8.0-rc.6
v1.8.0-rc.7
v1.8.0-rc.8
v1.8.0-rc.9
v1.9.0
version-0.*
version-0.1.0
version-0.1.0-0
version-0.11.0
version-0.13.0
version-0.14.0
version-0.15.0
version-0.19.0
version-0.2.0
version-0.20.0
version-0.21.0
version-0.22.0
version-0.23.0
version-0.24.0
version-0.25.0
version-0.3.0
version-0.4.0
version-0.4.1
version-0.4.2
version-0.4.3
version-0.4.4
version-0.5.0
version-0.6.0
version-0.7.0
version-0.7.2
version-0.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23506.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "1.27.3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "1.28.0"
            },
            {
                "fixed": "1.28.4"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "1.29.0"
            },
            {
                "fixed": "1.29.2"
            }
        ]
    }
]