GitHub Advisoryadvisory · Maven
GHSA-q4rf-3fhx-88pf YAML deserialization can run untrusted code
MEDIUM
Official page ↗
- Aliases
- CVE-2021-39132
- Ecosystem
- Maven
- Packages
- org.rundeck:rundeck-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502
- Reviewed
- 2021-08-30
Affected packages
• Maven org.rundeck:rundeck-core: >= 3.4.0, < 3.4.3 → fixed in 3.4.3
• Maven org.rundeck:rundeck-core: < 3.3.14 → fixed in 3.3.14
Description
Impact
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
• `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
Versions 3.4.3, 3.3.14
Workarounds
Please visit https://rundeck.com/security for information about specific workarounds.
For more information
If you have any questions or comments about this advisory:
• Email us at [email protected]
To report security issues to Rundeck please use the form at https://rundeck.com/security
Reporter: Rojan Rijal from Tinder Red Team
Related
Alias · CVE (1)
- CVE-2021-39132 Rundeck is an open source automation service with a web console, command line tools and a WebAPI. vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness