Cross-site Request Forgery (CSRF) Affecting io.jenkins.docker:docker-plugin package, versions [,1.1.7)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.44% (75th 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 Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-IOJENKINSDOCKER-451613
  • published16 Jul 2019
  • disclosed11 Jul 2019
  • creditOleg Nenashev, CloudBees, Inc.

Introduced: 11 Jul 2019

CVE-2019-10340  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade io.jenkins.docker:docker-plugin to version 1.1.7 or higher.

Overview

io.jenkins.docker:docker-plugin is a plugin that allows slaves to be dynamically provisioned using Docker.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The plugin does not perform permission checks on a method implementing form validation. This allows users with Overall/Read access to Jenkins to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins. Additionally, this form validation method did not require POST requests, resulting in a cross-site request forgery vulnerability.

NOTE: This vulnerability has also been identified as: CVE-2019-10341

CVSS Scores

version 3.1