MEDIUM4.3
GHSA-p92q-7fhh-mq35
Cross-Site Request Forgery in Jenkins
Quick fix
GHSA-p92q-7fhh-mq35 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.330</version> for org.jenkins-ci.main:jenkins-coreDetails
Jenkins 2.329 and earlier, LTS 2.319.1 and earlier does not require POST requests for the HTTP endpoint handling manual build requests when no security realm is set, resulting in a cross-site request forgery (CSRF) vulnerability.
This vulnerability allows attackers to trigger build of job without parameters.
Jenkins 2.330, LTS 2.319.2 requires POST requests for the affected HTTP endpoint.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.jenkins-ci.main:jenkins-core
Introduced in:
2.320Fixed in: 2.330Fix
# pom.xml: bump <version>2.330</version> for org.jenkins-ci.main:jenkins-coreMaven/org.jenkins-ci.main:jenkins-core
Introduced in:
0Fixed in: 2.319.2Fix
# pom.xml: bump <version>2.319.2</version> for org.jenkins-ci.main:jenkins-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-20612[ADVISORY]
- https://github.com/jenkinsci/jenkins/commit/b5c3764681f3b4ce83d0e78f6a9327925640d57e[WEB]
- https://github.com/jenkinsci/jenkins[PACKAGE]
- https://www.jenkins.io/changelog-stable/#v2.319.2[WEB]
- https://www.jenkins.io/changelog/#v2.330[WEB]
- https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2558[WEB]
- https://www.oracle.com/security-alerts/cpuapr2022.html[WEB]
- http://www.openwall.com/lists/oss-security/2022/01/12/6[WEB]