CVE-2017-1000504: Cross-Site Request Forgery in Jenkins

Summary

14/05/2022
Yes i
High
8.1

CVE-2017-1000504: Cross-Site Request Forgery in Jenkins. Affects org.jenkins-ci.main:jenkins-core across 2 version ranges.

>= 2.81, < 2.89.2 >= 2.90, < 2.95

Fixed in 2.89.2 or 2.95, depending on the release line you run. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Jenkins is an open-source automation server that enables developers to build, test, and deploy their software projects. It provides a wide range of plugins and integrations to support various development processes. The vulnerable package in focus is 'org.jenkins-ci.main:jenkins-core'.

Vulnerability Detail

A race condition during Jenkins 2.94 and earlier; 2.89.1 and earlier startup could result in the wrong order of execution of commands during initialization. There is a very short window of time after startup during which Jenkins may no longer show the 'Please wait while Jenkins is getting ready to work' message but Cross-Site Request Forgery (CSRF) protection may not yet be effective. This vulnerability allows an attacker to trick a user into performing unwanted actions on their behalf, potentially leading to unauthorized access, data manipulation, or other malicious activities.

How To Fix

Latest published version: 2.587 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 2.81, < 2.89.2 2.89.2
  • >= 2.90, < 2.95 2.95

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading immediately is not feasible, a temporary workaround is to disable CSRF protection in Jenkins. This can be done by navigating to the 'Configure Global Security' page in the Jenkins web interface, unchecking the 'Enable Cross Site Request Forgery protection' option, and saving the changes. However, this workaround should only be considered as a temporary measure until the package can be updated to a secure version.

Conclusion

In conclusion, the 'org.jenkins-ci.main:jenkins-core' package is vulnerable to a Cross-Site Request Forgery (CSRF) issue that can allow unauthorized actions on behalf of users. It is crucial to upgrade to a secure version or apply the provided workaround to mitigate the risk. For further assistance on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.main:jenkins-core →

Share this vulnerability

FAQ

Jenkins is an open-source automation server used for building, testing, and deploying software projects.

Cross-Site Request Forgery (CSRF) is an attack that tricks a user into performing unwanted actions on a web application in which they are authenticated.

This vulnerability can allow an attacker to perform unauthorized actions on behalf of a Jenkins user, potentially leading to data manipulation, unauthorized access, or other malicious activities.

To fix this vulnerability, it is recommended to upgrade the 'org.jenkins-ci.main:jenkins-core' package to a secure version as mentioned in the 'how_to_fix' section.

Yes, a temporary workaround is to disable CSRF protection in Jenkins. Please refer to the 'workaround' section for detailed instructions.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.main:jenkins-core.

How To Fix

Latest published version: 2.587 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 2.81, < 2.89.2 2.89.2
  • >= 2.90, < 2.95 2.95

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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