CVE-2024-23898
HIGH 8.8CVSS 3.1Cross-site WebSocket hijacking vulnerability in the Jenkins CLI
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 the Jenkins controller.
- Published
- 24 Jan 2024
- Last modified
- 7 Aug 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-346
- Also known as
- BIT-jenkins-2024-23898GHSA-53ph-2r2x-vqw8
- Sources
- NVDJSONOSV GHSA-53ph-2r2x-vqw8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* |
>= 2.217, <= 2.441 | |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* |
>= 2.222.1, <= 2.426.2 | |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.217, < 2.426.3 | 2.426.3 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.427, < 2.442 | 2.442 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | = 2.441 |
References
- http://www.openwall.com/lists/oss-security/2024/01/24/6 · WEB
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315 · Vendor Advisory, WEB
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-23898 · ADVISORY
- https://github.com/jenkinsci/jenkins/commit/de450967f38398169650b55c002f1229a3fcdb1b · WEB
- https://github.com/jenkinsci/jenkins · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 24 Jan 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jan 2024)