RCE vulnerability in Jenkins AWS SAM Plugin
High severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Dec 6, 2023
Description
Published by the National Vulnerability Database
Apr 16, 2020
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Dec 16, 2022
Last updated
Dec 6, 2023
AWS SAM Plugin 1.2.2 and earlier does not configure its YAML parser to prevent the instantiation of arbitrary types. This results in a remote code execution (RCE) vulnerability exploitable by users able to configure a job or control the contents of a previously configured "AWS SAM deploy application" build step’s YAML SAM template file (
template.yaml
or equivalent) file.AWS SAM Plugin 1.2.3 configures its YAML parser to only instantiate safe types.
References