Creation of Chained Constructor Invocation Affecting org.jenkins-ci.plugins:script-security package, versions [,1336.vf33a_a_9863911)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (12th 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-6807578
  • published3 May 2024
  • disclosed3 May 2024
  • creditDevin Nusbaum

Introduced: 3 May 2024

CVE-2024-34145  (opens in a new tab)
CWE-243  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:script-security to version 1336.vf33a_a_9863911 or higher.

Overview

org.jenkins-ci.plugins:script-security is a package that allows Jenkins administrators to control what in-process scripts can be run by less-privileged users.

Affected versions of this package are vulnerable to Creation of Chained Constructor Invocation due to sandbox-defined Groovy classes that shadow specific non-sandbox-defined classes can be used to construct any subclassable type.

Note:

These issues are caused by an incomplete fix of SECURITY-2824

CVSS Scores

version 3.1