Cross-Site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:ec2 package, versions [,1.48)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.07% (31st 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-ORGJENKINSCIPLUGINS-6056500
  • published20 Jan 2020
  • disclosed15 Jan 2020
  • creditOleg Nenashev, CloudBees, Inc.

Introduced: 15 Jan 2020

CVE-2020-2091  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:ec2 to version 1.48 or higher.

Overview

org.jenkins-ci.plugins:ec2 is a plugin for controlling agents on EC2 or Eucalyptus.

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF). It does not perform permission checks in methods performing form validation. This allows users with Overall/Read access to Jenkins to connect to an attacker-specified URL within the AWS region using attacker-specified credentials IDs obtained through another method. Additionally, these form validation methods do not require POST requests, resulting in a CSRF vulnerability.

NOTE: This vulnerability has also been identified as: CVE-2020-2090

CVSS Scores

version 3.1