Incorrect Permission Assignment for Critical Resource Affecting org.jenkins-ci.plugins:script-security package, versions [,1.31)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.1% (44th 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 ID SNYK-JAVA-ORGJENKINSCIPLUGINS-6210174
  • published 31 Jan 2024
  • disclosed 13 May 2022
  • credit Simon St John-Green

How to fix?

Upgrade org.jenkins-ci.plugins:script-security to version 1.31 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 Incorrect Permission Assignment for Critical Resource due to improper sandboxing restrictions on constructor invocations via positional arguments list, super constructor invocations, method references, and type coercion expressions. An attacker can invoke arbitrary constructors and methods, effectively bypassing the intended sandbox protections.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High