CVE-2022-46688Jenkins Sonar Gerrit
Medium 6.5 No auth needed
Follow: this CVE · Jenkins · Jenkins Sonar Gerrit We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- No
- Published
- Dec 12, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
A cross-site request forgery (CSRF) vulnerability in Jenkins Sonar Gerrit Plugin 377.v8f3808963dc5 and earlier 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.
What to do
- Apply the vendor's security update for Sonar Gerrit.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins:sonar-gerrit |
< 378.vf4646d4df087 |
378.vf4646d4df087 |
— |
Per OSV / GitHub Advisories (GHSA-m82g-fv7v-h64m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | sonar_gerrit | ≤ 377.v8f3808963dc5 |
Official sources
References
Links published by the sources. Open them with care.
- www.jenkins.io Vendor Advisory