CVE-2021-21671
Java vulnerability analysis and mitigation

Overview

CVE-2021-21671 is a session fixation vulnerability discovered in Jenkins versions 2.299 and earlier, and LTS 2.289.1 and earlier. The vulnerability was introduced in Jenkins 2.266 and LTS 2.277.1 and was disclosed on June 30, 2021. The issue stems from Jenkins not invalidating the existing session during the login process (Jenkins Advisory).

Technical details

The vulnerability is rated as High severity and involves a session fixation flaw where the application fails to invalidate the previous session when a user logs in. This security weakness could be exploited through social engineering techniques to potentially gain administrator access to Jenkins (Jenkins Advisory).

Impact

The vulnerability allows attackers to use social engineering techniques to potentially gain administrator access to Jenkins systems. This could lead to complete compromise of the Jenkins instance and associated resources (Jenkins Advisory).

Exploitability

The vulnerability requires social engineering techniques to exploit, suggesting a moderate level of complexity in execution. No public exploits have been reported in the wild (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been fixed in Jenkins 2.300 and LTS 2.289.2, which now properly invalidates the existing session on login. For administrators experiencing issues with the fix, there is a configuration option to 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 (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management