{"answers":{"affected":"4 open source packages ship an affected version, including org.rundeck:rundeck-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-39132 in the wild and no public exploit code.","fix":"Upgrade org.rundeck:rundeck-core to a fixed version for your release line: 3.3.14 or 3.4.3.","what":"CVE-2021-39132 is a high-severity unsafe deserialization vulnerability in rundeck, published on 30 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-39132 and fix it if it is affected.\n\nWhat it is: CVE-2021-39132 is a high-severity unsafe deserialization vulnerability in rundeck, published on 30 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-39132 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.rundeck:rundeck-core (Maven): affected all versions; fixed in 3.3.14\n- org.rundeck:rundeck-core (Maven): affected all versions; fixed in 3.3.14\n- org.rundeck:rundeck-core (Maven): affected from 3.4.0; fixed in 3.4.3\n- org.rundeck:rundeck-core (Maven): affected from 3.4.0; fixed in 3.4.3\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-2021-39132/ (Markdown: https://insights.sbomify.com/CVE-2021-39132/index.md)","id":"CVE-2021-39132","markdown":"https://insights.sbomify.com/CVE-2021-39132/index.md","name":"CVE-2021-39132","record":{"aliases":["GHSA-q4rf-3fhx-88pf"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Rundeck automation service","requires_auth":"low_privilege","summary":"An authenticated user can execute arbitrary code on Rundeck servers by uploading crafted YAML files or plugins, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rundeck","vendor":"pagerduty"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"Rundeck is an open source automation service with a web console, command line tools and a WebAPI. Prior to version 3.3.14 and version 3.4.3, an authorized user can upload a zip-format plugin with a crafted plugin.yaml, or a crafted aclpolicy yaml file, or upload an untrusted project archive with a crafted aclpolicy yaml file, that can cause the server to run untrusted code on Rundeck Community or Enterprise Edition. An authenticated user can make a POST request, that can cause the server to run untrusted code on Rundeck Enterprise Edition. The zip-format plugin issues requires authentication and authorization to these access levels, and affects all Rundeck editions:`admin` level access to the `system` resource type. The ACL Policy yaml file upload issues requires authentication and authorization to these access levels, and affects all Rundeck editions: `create` `update` or `admin` level access to a `project_acl` resource, and/or`create` `update` or `admin` level access to the `system_acl` resource. The unauthorized POST request requires authentication, but no specific authorization, and affects Rundeck Enterprise only. Patches are available in versions 3.4.3, 3.3.14","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":"YAML deserialization can run untrusted code","id":"CVE-2021-39132","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2021"},"n_packages":4,"n_references":2,"next":{"headline":"Cross-Site Request Forgery (CSRF) can run untrusted code on Rundeck server","id":"CVE-2021-39133"},"packages":[{"ecosystem":"Maven","fixed":["3.3.14"],"introduced":["0"],"last_affected":[],"package":"org.rundeck:rundeck-core","purl":null,"source":"GHSA-q4rf-3fhx-88pf"},{"ecosystem":"Maven","fixed":["3.3.14"],"introduced":["0"],"last_affected":[],"package":"org.rundeck:rundeck-core","purl":"pkg:maven/org.rundeck/rundeck-core","source":"GHSA-q4rf-3fhx-88pf"},{"ecosystem":"Maven","fixed":["3.4.3"],"introduced":["3.4.0"],"last_affected":[],"package":"org.rundeck:rundeck-core","purl":null,"source":"GHSA-q4rf-3fhx-88pf"},{"ecosystem":"Maven","fixed":["3.4.3"],"introduced":["3.4.0"],"last_affected":[],"package":"org.rundeck:rundeck-core","purl":"pkg:maven/org.rundeck/rundeck-core","source":"GHSA-q4rf-3fhx-88pf"}],"prev":{"headline":"Improper Handling of Unexpected Data Type in ced","id":"CVE-2021-39131"},"products":["rundeck"],"published":"2021-08-30","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.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.5,"headline":"Plaintext Storage of Keys and Passwords in Rundeck and PagerDuty Process Automation","id":"CVE-2022-31044","kev_date_added":null,"published":"2022-06-15"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["rundeck"]},"summary":"An authenticated user can execute arbitrary code on Rundeck servers by uploading crafted YAML files or plugins, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2021-39132/"}