Symlink Attack Affecting org.jenkins-ci.main:jenkins-core package, versions [,2.303.3)[2.304,2.319)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.26% (66th 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 Symlink Attack vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIMAIN-1911969
  • published5 Nov 2021
  • disclosed4 Nov 2021
  • creditUnknown

Introduced: 4 Nov 2021

CVE-2021-21695  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.main:jenkins-core to version 2.303.3, 2.319 or higher.

Overview

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

Affected versions of this package are vulnerable to Symlink Attack. An incorrect permissions validation vulnerability was found in Jenkins. The FilePath#listFiles lists files outside directories with agent read access when following symbolic links. This may allow an attacker to get access to restricted data.

CVSS Scores

version 3.1