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. Learn more

Threat Intelligence

EPSS
0.06% (28th 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 Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIMAIN-5914641
  • published22 Sept 2023
  • disclosed20 Sept 2023
  • creditDaniel Beck

Introduced: 20 Sep 2023

CVE-2023-43497  (opens in a new tab)
CWE-276  (opens in a new tab)

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