Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2017-1000095 (Medium) detected in script-security-1.15.jar #95

Open
mend-for-github-com bot opened this issue Sep 7, 2020 · 0 comments
Open
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Sep 7, 2020

CVE-2017-1000095 - Medium Severity Vulnerability

Vulnerable Library - script-security-1.15.jar

Allows Jenkins administrators to control what in-process scripts can be run by less-privileged users.

Library home page: https://wiki.jenkins-ci.org/display/JENKINS/Script+Security+Plugin

Path to dependency file: influxdb-plugin/pom.xml

Path to vulnerable library: /root/.m2/repository/org/jenkins-ci/plugins/script-security/1.15/script-security-1.15.jar

Dependency Hierarchy:

  • performance-3.0.jar (Root Library)
    • workflow-cps-1.13.jar
      • script-security-1.15.jar (Vulnerable Library)

Vulnerability Details

The default whitelist included the following unsafe entries: DefaultGroovyMethods.putAt(Object, String, Object); DefaultGroovyMethods.getAt(Object, String). These allowed circumventing many of the access restrictions implemented in the script sandbox by using e.g. currentBuild['rawBuild'] rather than currentBuild.rawBuild. Additionally, the following entries allowed accessing private data that would not be accessible otherwise due to script security: groovy.json.JsonOutput.toJson(Closure); groovy.json.JsonOutput.toJson(Object).

Publish Date: 2017-10-05

URL: CVE-2017-1000095

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.jenkins.io/security/advisory/2017-07-10/

Release Date: 2017-10-05

Fix Resolution: org.jenkins-ci.plugins:script-security:1.29.1

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants