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


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.04% (15th 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 Learn

Learn about Creation of Temporary File With Insecure Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIMAIN-3357934
  • published9 Mar 2023
  • disclosed9 Mar 2023
  • creditKevin Guerroudj (CloudBees)

Introduced: 9 Mar 2023

CVE-2023-27903  (opens in a new tab)
CWE-378  (opens in a new tab)

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 a build is triggered from the Jenkins CLI. A temporary file is written in the default temporary directory, which may be overly permissive. If so, local users can read and write the file before it is used in the build.

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