Arbitrary Code Execution Affecting org.jenkins-ci.plugins:templating-engine package, versions [,2.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (46th 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 IDSNYK-JAVA-ORGJENKINSCIPLUGINS-3177800
  • published21 Dec 2022
  • disclosed24 May 2022
  • creditDaniel Beck

Introduced: 24 May 2022

CVE-2021-21646  (opens in a new tab)
CWE-693  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:templating-engine to version 2.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution due to not protecting its pipeline configurations using Script Security Plugin by allowing attackers with Job/Configure permission to exploit this vulnerability.

CVSS Scores

version 3.1