{"id":"CVE-2021-39132","published":"2021-08-30T19:35:10Z","modified":"2024-08-04T01:58:17Z","title":"YAML deserialization can run untrusted code","vendor":"rundeck","product":"rundeck","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01688,"percentile":0.76948,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/rundeck/rundeck/security/advisories/GHSA-q4rf-3fhx-88pf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rundeck/rundeck/commit/850d12e21d22833bc148b7f458d7cb5949f829b6","tags":["x_refsource_MISC"]}],"priority":{"score":21.5,"factors":[{"name":"EPSS percentile","points":15.39},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"rundeck","affectedVersions":[{"vendor":"rundeck","product":"rundeck","versions":["< 3.3.14",">= 3.4.0, < 3.4.3"]}],"affected":[{"ecosystem":"Maven","package":"org.rundeck:rundeck-core","vulnerableRanges":[">=3.4.0, <3.4.3","<3.3.14"],"patched":["3.4.3","3.3.14"],"from":["GHSA-q4rf-3fhx-88pf"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-2099","exploited":false,"provenance":"source"}}