Creation of Temporary File With Insecure Permissions Affecting org.jenkins-ci.main:jenkins-core package, versions [,2.375.4) [2.376,2.387.1) [2.388,2.394)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (14th 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-ORGJENKINSCIMAIN-3357684
  • published 9 Mar 2023
  • disclosed 9 Mar 2023
  • credit James Nord (CloudBees)

How to fix?

Upgrade org.jenkins-ci.main:jenkins-core to version 2.375.4, 2.387.1, 2.394 or higher.

Overview

org.jenkins-ci.main:jenkins-core is an open source automation server.

Affected versions of this package are vulnerable to Creation of Temporary File With Insecure Permissions when an administrator uploads a file with default permissions, which may be overly permissive. This could allow users to inject files into the Jenkins controller during the installation of a plugin.

Workaround

This vulnerability can be avoided by setting a different path as the default temporary directory, using the java.io.tmpdir system property.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

7 high
Expand this section

Red Hat

7 high