CVE-2021-39132: YAML deserialization can run untrusted code
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 projectacl resource, and/orcreate update or admin level access to the systemacl 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
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.4.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.3.14
Event History
Frequently Asked Questions
What is CVE-2021-39132?
CVE-2021-39132 is a vulnerability in Rundeck that allows an authorized user to upload a malicious plugin or project archive.
What is the severity of CVE-2021-39132?
CVE-2021-39132 has a severity value of 8.8, which is considered high.
How can an authorized user exploit CVE-2021-39132?
An authorized user can exploit CVE-2021-39132 by uploading a zip-format plugin with a crafted plugin.yaml, a crafted aclpolicy yaml file, or an untrusted project archive with a malicious content.
Which versions of Rundeck are affected by CVE-2021-39132?
Versions prior to 3.3.14 and 3.4.3 of Rundeck are affected by CVE-2021-39132.
Are there any fixes available for CVE-2021-39132?
Yes, the vulnerability has been fixed in versions 3.3.14 and 3.4.3 of Rundeck.