Cross-Site Request Forgery (CSRF) Affecting com.sonyericsson.hudson.plugins.gerrit:gerrit-trigger package, versions [,2.30.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.86% (59th 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 IDSNYK-JAVA-COMSONYERICSSONHUDSONPLUGINSGERRIT-538458
  • published20 Dec 2019
  • disclosed17 Dec 2019
  • creditAlex Earl (@alexcearl), Marvell Semiconductor, Inc.

Introduced: 17 Dec 2019

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

How to fix?

Upgrade com.sonyericsson.hudson.plugins.gerrit:gerrit-trigger to version 2.30.2 or higher.

Overview

com.sonyericsson.hudson.plugins.gerrit:gerrit-trigger is a that integrates Jenkins to Gerrit code review for triggering builds when a "patch set" is created

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF). Does not perform permission checks in methods performing form validation. This allows users with Overall/Read access to perform connection tests, connecting to an HTTP URL or SSH server using attacker-specified credentials, or determine whether files with an attacker-specified path exist on the Jenkins master file system.

Additionally, these form validation methods do not require POST requests, resulting in a CSRF vulnerability.

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

CVSS Base Scores

version 3.1