CVE-2024-22257
Jenkins vulnerability analysis and mitigation

Overview

CVE-2024-22257 is a broken access control vulnerability affecting Spring Security versions 5.7.x prior to 5.7.12, 5.8.x prior to 5.8.11, 6.0.x prior to 6.0.9, 6.1.x prior to 6.1.8, and 6.2.x prior to 6.2.3. The vulnerability was discovered and reported by pwnull and disclosed in March 2024. The issue occurs when an application directly uses the AuthenticatedVoter#vote passing a null Authentication parameter (Spring Security).

Technical details

The vulnerability stems from improper authorization control in the AuthenticatedVoter component. Specifically, when an application directly uses AuthenticatedVoter#vote and passes a null authentication parameter, it results in an erroneous true return value. The vulnerability has been assigned a CVSS v3.1 base score of 8.2 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, indicating network accessibility with low attack complexity and no required privileges or user interaction (VMware).

Impact

Successful exploitation of this vulnerability could lead to broken access control, potentially resulting in disclosure of sensitive information or unauthorized modification of data. The vulnerability affects applications that directly implement the AuthenticatedVoter component, potentially allowing attackers to bypass authentication mechanisms (NetApp Security).

Exploitability

The vulnerability is exploitable when an application directly uses the AuthenticatedVoter#vote method and passes a null Authentication parameter. It's important to note that applications are not vulnerable if they either don't use AuthenticatedVoter#vote directly or don't pass null to AuthenticatedVoter#vote (Spring Security).

Mitigation and workarounds

Users of affected versions should upgrade to the corresponding fixed versions: 5.7.12 for 5.7.x, 5.8.11 for 5.8.x, 6.0.9 for 6.0.x, 6.1.8 for 6.1.x, and 6.2.3 for 6.2.x. It's worth noting that AuthenticatedVoter has been deprecated since version 5.8, and implementations of AuthorizationManager are recommended as a replacement (Spring Security).

Additional resources


SourceThis report was generated using AI

Related Jenkins vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-70429HIGH8.1
  • Jenkins logoJenkins
  • jenkins-2.568
NoYesAug 05, 2026
CVE-2026-19429MEDIUM6.5
  • Jenkins logoJenkins
  • cpe:2.3:a:jenkins:jenkins
NoNoAug 10, 2026
CVE-2026-70428MEDIUM4.3
  • Jenkins logoJenkins
  • jenkins
NoYesAug 05, 2026
CVE-2026-70427MEDIUM4.3
  • Jenkins logoJenkins
  • jenkins-2.568
NoYesAug 05, 2026
CVE-2026-70430LOW2.7
  • Jenkins logoJenkins
  • jenkins-2.568
NoYesAug 05, 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