CVE-2021-21671
Session fixation vulnerability in Jenkins
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login.
- Record
CVE-2021-21671- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 5.1 Medium
AV:N/AC:H/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login.
- Record
CVE-2021-21671- Updated
- 2026-11-02
EUVDEUVD-2022-2462 No score
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login.
- Record
EUVD-2022-2462- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4wr9-2xc6-jmg5
7.5
Session fixation vulnerability in Jenkins
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 to 2, or disable the fix entirely by setting that system property to 0.
- Record
GHSA-4wr9-2xc6-jmg5- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-384
- Updated
- 2026-11-02
OSV
7.5
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login.
- Record
CVE-2021-21671- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-4wr9-2xc6-jmg5
7.5
Session fixation vulnerability in Jenkins
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 to 2, or disable the fix entirely by setting that system property to 0.
- Record
GHSA-4wr9-2xc6-jmg5- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-384
- Updated
- 2026-11-02
Show 4 moreShow less
OSVRHBA-2021:3033
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.7.24 packages update
- Record
RHBA-2021:3033- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHBA-2021:3396
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.6.44 packages update
- Record
RHBA-2021:3396- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:3820
7.5
Red Hat Security Advisory: OpenShift Container Platform 4.8.15 packages and security update
- Record
RHSA-2021:3820- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBIT-jenkins-2021-21671 No score
Jenkins LTS 2.289.1 and earlier does not invalidate the previous session on login.
- Record
BIT-jenkins-2021-21671- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.main:jenkins-coreMaven |
2.292 to 2.299 | 2.300 |
org.jenkins-ci.main:jenkins-coreMaven |
through 2.289.1 | 2.289.2 |
jenkinsBitnami |
2.266.0 up to 2.300.0 | 2.300.0 |
org.jenkins-ci.main:jenkins-coreMaven |
2.292 up to 2.300, plus listed versions 2.2932.2942.2952.2962.2972.2982.299 |
2.300 |
org.jenkins-ci.main:jenkins-coreMaven |
before 2.289.2, plus listed versions 1.3961.3971.3981.3991.400 Show 45 moreShow less1.4011.4031.4041.4051.4061.4071.4081.4091.409.11.409.21.409.31.4101.4111.4121.4131.4141.4151.4161.4171.4181.4191.4201.4211.4221.4231.4241.424.11.424.21.424.31.424.41.424.51.424.61.4251.4261.4271.4281.4291.4301.4311.4321.4331.4341.4351.4361.437 |
2.289.2 |
jenkinsRed Hat:openshift:4.7::el8 From an advisory covering 2 CVEs |
before 0:2.289.2.1628252553-1.el8 | 0:2.289.2.1628252553-1.el8 |
jenkinsRed Hat:openshift:4.6::el8 From an advisory covering 2 CVEs |
before 0:2.289.2.1629437819-1.el8 | 0:2.289.2.1629437819-1.el8 |
jenkinsRed Hat:openshift:4.8::el8 From an advisory covering 6 CVEs |
before 0:2.289.3.1633554819-1.el8 | 0:2.289.3.1633554819-1.el8 |
butaneRed Hat:openshift:4.8::el8 From an advisory covering 6 CVEs |
before 0:0.12.1-2.rhaos4.8.el8 | 0:0.12.1-2.rhaos4.8.el8 |
butane-debuginfoRed Hat:openshift:4.8::el8 From an advisory covering 6 CVEs |
before 0:0.12.1-2.rhaos4.8.el8 | 0:0.12.1-2.rhaos4.8.el8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-21671 is a high vulnerability (CVSS 7.5) in Jenkins, published June 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.75%, the 78th percentile. Fixed in org.jenkins-ci.main:jenkins-core 2.300.
References
jenkins.io/security/advisory/2021-06-30
openwall.com/lists/oss-security/2021/06/30/1
nvd.nist.gov/vuln/detail/CVE-2021-21671
github.com/jenkinsci/jenkins/commit/25a42f3942fd9f8bd768c887c679dbc796b4fcd5
github.com/advisories/GHSA-4wr9-2xc6-jmg5
github.com/jenkinsci/jenkins
Show 36 moreShow less
access.redhat.com/errata/RHBA-2021:3033
bugzilla.redhat.com/show_bug.cgi?id=1991349
security.access.redhat.com/data/csaf/v2/advisories/2021/rhba-2021_3033.json
access.redhat.com/security/cve/CVE-2021-21670
bugzilla.redhat.com/show_bug.cgi?id=2007749
cve.org/CVERecord?id=CVE-2021-21670
nvd.nist.gov/vuln/detail/CVE-2021-21670
access.redhat.com/security/cve/CVE-2021-21671
bugzilla.redhat.com/show_bug.cgi?id=2007750
cve.org/CVERecord?id=CVE-2021-21671
access.redhat.com/errata/RHBA-2021:3396
bugzilla.redhat.com/show_bug.cgi?id=1999759
bugzilla.redhat.com/show_bug.cgi?id=2000117
security.access.redhat.com/data/csaf/v2/advisories/2021/rhba-2021_3396.json
access.redhat.com/errata/RHSA-2021:3820
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1983596
bugzilla.redhat.com/show_bug.cgi?id=1989564
bugzilla.redhat.com/show_bug.cgi?id=1989570
bugzilla.redhat.com/show_bug.cgi?id=1989575
bugzilla.redhat.com/show_bug.cgi?id=2013510
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3820.json
access.redhat.com/security/cve/CVE-2021-33195
cve.org/CVERecord?id=CVE-2021-33195
nvd.nist.gov/vuln/detail/CVE-2021-33195
groups.google.com/g/golang-announce/c/RgCMkAEQjSI
access.redhat.com/security/cve/CVE-2021-33197
cve.org/CVERecord?id=CVE-2021-33197
nvd.nist.gov/vuln/detail/CVE-2021-33197
access.redhat.com/security/cve/CVE-2021-33198
cve.org/CVERecord?id=CVE-2021-33198
nvd.nist.gov/vuln/detail/CVE-2021-33198
access.redhat.com/security/cve/CVE-2021-34558
cve.org/CVERecord?id=CVE-2021-34558
nvd.nist.gov/vuln/detail/CVE-2021-34558
golang.org/doc/devel/release
Left out here: 640 versions. The JSON record has them.