Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:sonar-gerrit package, versions [0,]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.07% (33rd 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-3164747
  • published8 Dec 2022
  • disclosed8 Dec 2022
  • creditOleg Nenashev

Introduced: 8 Dec 2022

CVE-2022-46688  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

There is no fixed version for org.jenkins-ci.plugins:sonar-gerrit.

Overview

org.jenkins-ci.plugins:sonar-gerrit is a Jenkins plugin for posting SonarQube issues as Gerrit review comments.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to not requiring POST requests for an HTTP endpoint. This allows attackers to have Jenkins connect to Gerrit servers (previously configured by Jenkins administrators) using attacker-specified credentials IDs obtained through another method, potentially capturing credentials stored in Jenkins.

CVSS Scores

version 3.1