Arbitrary File Read Affecting org.jenkins-ci.main:jenkins-core package, versions [,2.452.4) [2.460,2.462.1) [2.470,2.471)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (21st 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-7647211
  • published 7 Aug 2024
  • disclosed 7 Aug 2024
  • credit yangyue (Nebulalab), jiangchenwei (Nebulalab)

How to fix?

Upgrade org.jenkins-ci.main:jenkins-core to version 2.452.4, 2.462.1, 2.471 or higher.

Overview

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

Affected versions of this package are vulnerable to Arbitrary File Read via the ClassLoaderProxy#fetchJar method due to improper restrictions. Calls to Channel#preloadJar by the attacker can result in the agent retrieving files from the controller using ClassLoaderProxy#fetchJar.

In some cases, exploiting this vulnerability might result in remote code execution.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    Low
  • Confidentiality (SC)
    High
  • Integrity (SI)
    None
  • Availability (SA)
    None