Arbitrary Code Execution Affecting io.jenkins.plugins:aws-sam package, versions [,1.2.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.28% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-IOJENKINSPLUGINS-3175578
  • published18 Dec 2022
  • disclosed24 May 2022
  • creditAlexander Brandes

Introduced: 24 May 2022

CVE-2020-2180  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade io.jenkins.plugins:aws-sam to version 1.2.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution due to missing configuration of the YAML parser to prevent the instantiation of arbitrary types. This is 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.

CVSS Base Scores

version 3.1