Incorrect Default Permissions Affecting org.jenkins-ci.main:jenkins-core package, versions [2.50,2.414.2) [2.415,2.424)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.06% (30th 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-5914641
  • published 22 Sep 2023
  • disclosed 20 Sep 2023
  • credit Daniel Beck

How to fix?

Upgrade org.jenkins-ci.main:jenkins-core to version 2.414.2, 2.424 or higher.

Overview

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

Affected versions of this package are vulnerable to Incorrect Default Permissions via the MultipartFormDataParser API and the Stapler web framework. An attacker can read and write temporary files before they are used by exploiting the default permissions for newly created files in the system temporary directory.

Note:

This is only exploitable if the operating system uses a shared temporary directory for all users (typically Linux).

Workaround

This vulnerability can be mitigated by changing your default temporary-file directory using the Java system property java.io.tmpdir.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

8.1 high
Expand this section

Red Hat

3.6 low