CVE-2023-24434: CSRF vulnerability in Jenkins GitHub Pull Request Builder Plugin

org.jenkins-ci.plugins:ghprb Updated 02 Oct 2025

Summary

26/01/2023
No i
High
8.8

CVE-2023-24434: CSRF vulnerability in Jenkins GitHub Pull Request Builder Plugin. Affects org.jenkins-ci.plugins:ghprb versions < 1.42.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Jenkins GitHub Pull Request Builder Plugin is a plugin for the Jenkins automation server that allows users to trigger builds on Jenkins when pull requests are opened or updated on GitHub. It integrates with GitHub's webhooks to provide seamless integration between the two platforms. The plugin is widely used by developers and organizations to automate their build and deployment processes.

Vulnerability Detail

A cross-site request forgery (CSRF) vulnerability has been identified in the Jenkins GitHub Pull Request Builder Plugin version 1.42.2 and earlier. This vulnerability allows attackers to perform unauthorized actions on behalf of authenticated users by tricking them into visiting a malicious website or clicking on a specially crafted link. By exploiting this vulnerability, attackers can connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, potentially capturing sensitive credentials stored in Jenkins. This can lead to unauthorized access, data leakage, and other security breaches.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable the Jenkins GitHub Pull Request Builder Plugin until the vulnerability is fixed. This can be done by navigating to the Jenkins plugin management page, searching for the 'GitHub Pull Request Builder' plugin, and clicking on the 'Disable' button. However, disabling the plugin may impact the functionality and automation capabilities provided by the plugin, so it is recommended to apply the official fix as soon as possible.

Conclusion

The CSRF vulnerability in the Jenkins GitHub Pull Request Builder Plugin poses a significant security risk to Jenkins instances using affected versions of the plugin. It is crucial for users to upgrade to the latest version (1.42.3 or later) or apply the temporary workaround of disabling the plugin until the fix is implemented. Regularly reviewing and updating credentials stored in Jenkins is also recommended to ensure the overall security of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:ghprb →

Share this vulnerability

FAQ

Cross-Site Request Forgery (CSRF) is a type of security vulnerability that allows an attacker to perform unauthorized actions on behalf of an authenticated user. It occurs when an attacker tricks a victim into performing an action without their consent, often by exploiting the trust between the user and a website or application.

This vulnerability can be exploited by tricking an authenticated user into visiting a malicious website or clicking on a specially crafted link. The attacker can then use the user's credentials to connect to an attacker-specified URL and potentially capture sensitive credentials stored in Jenkins.

The consequences of this vulnerability include unauthorized access to Jenkins, potential data leakage, and other security breaches. Attackers can use the captured credentials to gain unauthorized access to sensitive information, modify configurations, and perform malicious actions on the Jenkins server.

Yes, a fix is available for this vulnerability. Users are advised to upgrade to the latest version of the Jenkins GitHub Pull Request Builder Plugin (version 1.42.3 or later) to address the CSRF vulnerability. It is also recommended to review and update any affected credentials stored in Jenkins.

As a temporary workaround, users can disable the Jenkins GitHub Pull Request Builder Plugin until the vulnerability is fixed. However, this may impact the functionality and automation capabilities provided by the plugin, so it is recommended to apply the official fix as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:ghprb.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback