Cyber Resilience

CVE-2024-23898

High

Published: 24 January 2024

Published
24 January 2024
Modified
20 June 2025
KEV Added
Patch
CVSS Score v3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.3687 97.3th percentile
Risk Priority 40 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-23898 is a high-severity Origin Validation Error (CWE-346) vulnerability in Jenkins Jenkins. Its CVSS base score is 8.8 (High).

Operationally, ranked in the top 2.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

Jenkins versions 2.217 through 2.441, including LTS releases 2.222.1 through 2.426.2, are affected by a cross-site WebSocket hijacking vulnerability in the CLI WebSocket endpoint. The root cause is missing origin validation of requests to that endpoint, classified under CWE-346, which permits unauthorized WebSocket connections from arbitrary origins.

An unauthenticated remote attacker can exploit the flaw by luring an authenticated Jenkins user to a malicious web page. Successful CSWSH allows the attacker to issue arbitrary CLI commands that execute on the Jenkins controller, resulting in full compromise of confidentiality, integrity, and availability.

The Jenkins security advisory published on 24 January 2024 addresses SECURITY-3315 and provides mitigation guidance for affected installations. The associated EPSS score has remained flat at 0.3687 with no material increase after disclosure.

EU & UK References

Vulnerability details

Jenkins 2.217 through 2.441 (both inclusive), LTS 2.222.1 through 2.426.2 (both inclusive) does not perform origin validation of requests made through the CLI WebSocket endpoint, resulting in a cross-site WebSocket hijacking (CSWSH) vulnerability, allowing attackers to execute CLI commands on…

more

the Jenkins controller.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

jenkins
jenkins
2.217 — 2.441 · 2.222.1 — 2.426.2

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-346

Requires unique identification of the service before communications, addressing failures to validate the origin of the interaction.

addresses: CWE-346

Trusted path establishment enforces validation that the communication originates from and reaches only the intended trusted system components.

addresses: CWE-346

Enforces validation of the true origin of DNS responses via signatures and chain-of-trust mechanisms.

addresses: CWE-346

Enforces origin validation of name/address data, eliminating reliance on unverified or impersonated DNS sources.

addresses: CWE-346

Mandates origin validation so that only legitimate endpoints can continue the authenticated session.

References