{"id":"CVE-2022-29186","summary":"Use of Hard-coded Cryptographic Key in rundeck/rundeck, rundeckpro/enterprise","details":"Rundeck is an open source automation service with a web console, command line tools and a WebAPI. Rundeck community and rundeck-enterprise docker images contained a pre-generated SSH keypair. If the id_rsa.pub public key of the keypair was copied to authorized_keys files on remote host, those hosts would allow access to anyone with the exposed private credentials. This misconfiguration only impacts Rundeck Docker instances of PagerDuty® Process Automation On Prem (formerly Rundeck) version 4.0 and earlier, not Debian, RPM or .WAR. Additionally, the id_rsa.pub file would have to be copied from the Docker image filesystem contents without overwriting it and used to configure SSH access on a host. A patch on Rundeck's `main` branch has removed the pre-generated SSH key pair, but it does not remove exposed keys that have been configured. To patch, users must run a script on hosts in their environment to search for exposed keys and rotate them. Two workarounds are available: Do not use any pre-existing public key file from the rundeck docker images to allow SSH access by adding it to authorized_keys files and, if you have copied the public key file included in the docker image, remove it from any authorized_keys files.","aliases":["GHSA-qxjx-xr2m-hgqx"],"modified":"2026-08-12T03:51:35.517116829Z","published":"2022-05-20T20:20:11Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-321"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29186.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29186.json"},{"type":"ADVISORY","url":"https://github.com/rundeck/rundeck/security/advisories/GHSA-qxjx-xr2m-hgqx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29186"},{"type":"FIX","url":"https://github.com/rundeck/rundeck/commit/16ef7a70b202492f9fbb54d8af4bb8ea0afa10ad"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rundeck/rundeck","events":[{"introduced":"0"},{"fixed":"9e5f416961fd4a7a2a1b4d7a3a1563c2a49fbe0a"},{"fixed":"16ef7a70b202492f9fbb54d8af4bb8ea0afa10ad"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":["cpe:2.3:a:pagerduty:rundeck:*:*:*:*:community:*:*:*","cpe:2.3:a:pagerduty:rundeck:*:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"4.1.0"}]}}],"versions":["v4.1.0-rc3","v4.1.0-rc2","v3.3.8","v3.3.8-rc7","v3.3.8-rc6","v3.3.8-rc5","v3.3.8-rc1","v3.3.7","v3.3.7-rc2","v3.3.7-rc1","v3.3.6","v3.3.6-rc4","v3.3.6-rc3","v3.3.6-rc2","v3.3.5","v3.3.1","v3.3.0","v3.3.0-preview2","v3.3.0-preview1","v3.2.6","grails338-oci-baseline","v3.2.5","v3.2.2","v3.2.1","v3.1.2","v3.1.1","v3.1.0","v3.0.21","v3.0.20","v3.0.19","v3.0.18","v3.0.17","v3.0.16","v3.0.15","v3.0.14","v3.0.13","v3.0.11","v3.0.9","v3.0.8","v3.0.7","v3.0.6","v3.0.0","v3.0.0-beta1","v3.0.0-alpha4","v3.0.0-alpha2","v3.0.0-alpha1-2","v3.0.0-alpha1","v2.11.1","v2.11.0","v2.10.8","v2.10.7","v2.10.6","v2.10.5","v2.10.4","v2.10.3","v2.10.2","v2.10.1","v2.10.0","v2.9.4","v2.9.3","v2.8.2","v2.9.2","v2.9.1","v2.9.0","v2.8.4","v2.8.3","v2.8.1","v2.8.0","v2.7.3","v2.7.2","v2.7.1","v2.7.0","v2.6.8","v2.6.7","v2.6.6","v2.6.5","v2.6.3","v2.6.4","v2.6.2","v2.6.1","v2.6.0","v2.3.2","v2.5.1","v2.5.0","v2.4.0","v2.3.1","v2.3.0","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.2","v2.1.1","v2.1.0","v2.0.3","v2.0.2","v2.0.1","v1.6.0","v1.6.0-rc3","v1.6.0-rc2","v1.6.0-rc1","v1.5.3","v1.5.2","v1.5.1","v1.5-1","v1.5-03","v1.5-02","v1.5-01","v1.5","v1.5-rc2","v1.5-rc1","v1.4.4","v1.4.3","v1.4.1","v1.4.0.1","v1.4.0","v1.4","v1.3","v1.1","v1.1-docs1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29186.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}