CVE-2021-21671
mediumpriority · track · 31EPSS 0.018 · 78 %ileEUUSEPSS · scored 2026-10-27
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.1–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-4wr9-2xc6-jmg5Session fixation vulnerability in Jenkins2022-05-24ghsa · osvUS
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`.
- BIT-jenkins-2021-216712024-03-06vendor · osvUS
Jenkins LTS 2.289.1 and earlier does not invalidate the previous session on login.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2021/06/30/1cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21671cnnvd
- https://packetstormsecurity.com/files/164562/Red-Hat-Security-Advisory-2021-3925-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Jenkins-Core-two-vulnerabilities-35799cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3485cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021070116cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021092808cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021102118cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan