{"answers":{"affected":"4 open source packages ship an affected version, including org.rundeck:rundeck. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31044 in the wild and no public exploit code.","fix":"Upgrade org.rundeck:rundeck to a fixed version for your release line: 4.2.2 or 4.3.1.","what":"CVE-2022-31044 is a high-severity vulnerability in rundeck, published on 15 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31044 and fix it if it is affected.\n\nWhat it is: CVE-2022-31044 is a high-severity vulnerability in rundeck, published on 15 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31044 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.rundeck:rundeck (Maven): affected from 4.2.0; fixed in 4.2.2\n- org.rundeck:rundeck (Maven): affected from 4.2.0; fixed in 4.2.2\n- org.rundeck:rundeck (Maven): affected from 4.3.0; fixed in 4.3.1\n- org.rundeck:rundeck (Maven): affected from 4.3.0; fixed in 4.3.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-31044/ (Markdown: https://insights.sbomify.com/CVE-2022-31044/index.md)","id":"CVE-2022-31044","markdown":"https://insights.sbomify.com/CVE-2022-31044/index.md","name":"CVE-2022-31044","record":{"aliases":["GHSA-hprf-rrwq-jm5c"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Rundeck automation service","requires_auth":"none","summary":"Attackers with backend access can read plaintext credentials stored by Rundeck due to a broken encryption plugin mechanism in specific versions.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rundeck","vendor":"pagerduty"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"},{"id":"CWE-256","name":"Plaintext Storage of a Password"}],"description":"Rundeck is an open source automation service with a web console, command line tools and a WebAPI. The Key Storage converter plugin mechanism was not enabled correctly in Rundeck 4.2.0 and 4.2.1, resulting in use of the encryption layer for Key Storage possibly not working. Any credentials created or overwritten using Rundeck 4.2.0 or 4.2.1 might result in them being written in plaintext to the backend storage. This affects those using any `Storage Converter` plugin. Rundeck 4.3.1 and 4.2.2 have fixed the code and upon upgrade will re-encrypt any plain text values. Version 4.3.0 does not have the vulnerability, but does not include the patch to re-encrypt plain text values if 4.2.0 or 4.2.1 were used. To prevent plaintext credentials from being stored in Rundeck 4.2.0/4.2.1, write access to key storage can be disabled via ACLs. After upgrading to 4.3.1 or later, write access can be restored.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Plaintext Storage of Keys and Passwords in Rundeck and PagerDuty Process Automation","id":"CVE-2022-31044","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":4,"n_references":1,"next":{"headline":"Ill-formed headers may lead to unexpected behavior in Istio","id":"CVE-2022-31045"},"packages":[{"ecosystem":"Maven","fixed":["4.2.2"],"introduced":["4.2.0"],"last_affected":[],"package":"org.rundeck:rundeck","purl":null,"source":"GHSA-hprf-rrwq-jm5c"},{"ecosystem":"Maven","fixed":["4.2.2"],"introduced":["4.2.0"],"last_affected":[],"package":"org.rundeck:rundeck","purl":"pkg:maven/org.rundeck/rundeck","source":"GHSA-hprf-rrwq-jm5c"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"org.rundeck:rundeck","purl":null,"source":"GHSA-hprf-rrwq-jm5c"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"org.rundeck:rundeck","purl":"pkg:maven/org.rundeck/rundeck","source":"GHSA-hprf-rrwq-jm5c"}],"prev":{"headline":"Fix failure to strip Authorization header on HTTP downgrade in Guzzle","id":"CVE-2022-31043"},"products":["rundeck"],"published":"2022-06-15","related":[{"cvss_score":9.1,"headline":"Use of Hard-coded Cryptographic Key in rundeck/rundeck, rundeckpro/enterprise","id":"CVE-2022-29186","kev_date_added":null,"published":"2022-05-20"},{"cvss_score":8.8,"headline":"YAML deserialization can run untrusted code","id":"CVE-2021-39132","kev_date_added":null,"published":"2021-08-30"},{"cvss_score":8.1,"headline":"Authenticated users can view or delete jobs they do not have authorization for in Rundeck","id":"CVE-2023-48222","kev_date_added":null,"published":"2023-11-16"},{"cvss_score":8.1,"headline":"Missing Authorization in Rundeck","id":"CVE-2021-41112","kev_date_added":null,"published":"2022-02-28"},{"cvss_score":7.2,"headline":"Cross-Site Request Forgery (CSRF) can run untrusted code on Rundeck server","id":"CVE-2021-39133","kev_date_added":null,"published":"2021-08-30"},{"cvss_score":6.5,"headline":"IDOR can reveal execution data and logs to unauthorized user in Rundeck","id":"CVE-2020-11009","kev_date_added":null,"published":"2020-04-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["rundeck"]},"summary":"Attackers with backend access can read plaintext credentials stored by Rundeck due to a broken encryption plugin mechanism in specific versions.","url":"https://insights.sbomify.com/CVE-2022-31044/"}