Arbitrary File Read Affecting org.jenkins-ci.plugins:credentials package, versions [,2.1.19)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.25% (65th 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 Arbitrary File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIPLUGINS-174761
  • published21 May 2019
  • disclosed21 May 2019
  • creditYakov Shafranovich and Pankaj Upadhyay

Introduced: 21 May 2019

CVE-2019-10320  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:credentials to version 2.1.19 or higher.

Overview

org.jenkins-ci.plugins:credentials is a plugin that provides a standardized API for other plugins to store and retrieve different types of credentials.

Affected versions of this package are vulnerable to Arbitrary File Read. The Credentials Plugin allowed the creation of Certificate credentials from a PKCS12 file on the Jenkins master. Users with permission to create or update credentials could use the associated form validation to confirm the existence of files with an attacker-specified path.

Additionally, they could create credentials from any valid PKCS12 file on the Jenkins master. With the ability to configure jobs to access these credentials, they could obtain the certificate content.

CVSS Scores

version 3.1