GHSA-4wr9-2xc6-jmg5

Session fixation vulnerability in Jenkins

At a glance

Published
Updated
CVE
CVE-2021-21671
Aliases
BIT-jenkins-2021-21671
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

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`.

Affected packages

PackageVersions
Maven · org.jenkins-ci.main:jenkins-coreintroduced 2.292, fixed 2.300
Maven · org.jenkins-ci.main:jenkins-coreintroduced 0, fixed 2.289.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database