GHSA-4wr9-2xc6-jmg5
Session fixation vulnerability in Jenkins
Quick fix
GHSA-4wr9-2xc6-jmg5 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.300</version> for org.jenkins-ci.main:jenkins-coreDetails
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login. This allows attackers to use social engineering techniques to gain administrator access to Jenkins.
This vulnerability was introduced in Jenkins 2.266 and LTS 2.277.1.
Jenkins 2.300, LTS 2.289.2 invalidates the previous session on login.
In case of problems, administrators can choose a different implementation by setting the [Java system property `hudson.security.SecurityRealm.sessionFixationProtectionMode`](https://www.jenkins.io/doc/book/managing/system-properties/#hudson-security-securityrealm-sessionfixationprotectionmode) to `2`, or disable the fix entirely by setting that system property to `0`.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.292Fixed in: 2.300# pom.xml: bump <version>2.300</version> for org.jenkins-ci.main:jenkins-core0Fixed in: 2.289.2# pom.xml: bump <version>2.289.2</version> for org.jenkins-ci.main:jenkins-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-21671[ADVISORY]
- https://github.com/jenkinsci/jenkins/commit/25a42f3942fd9f8bd768c887c679dbc796b4fcd5[WEB]
- https://github.com/jenkinsci/jenkins[PACKAGE]
- https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2371[WEB]
- http://www.openwall.com/lists/oss-security/2021/06/30/1[WEB]