Vulnerabilities · 2024 · Jenkins
CVE-2024-23898
Jenkins vulnerability
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.
Affected products
Jenkins. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jenkins runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315 · Vendor Advisory
- www.openwall.com/lists/oss-security/2024/01/24/6
- www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-
- nvd.nist.gov/vuln/detail/CVE-2024-23898
- github.com/jenkinsci/jenkins/commit/de450967f38398169650b55c002f1229a3fcdb1b
- www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-
- github.com/advisories/GHSA-53ph-2r2x-vqw8
- nvd.nist.gov/vuln/detail/CVE-2024-23898
- cve.org/CVERecord?id=CVE-2024-23898
More vulnerabilities in Jenkins products
CVE-2025-67643CVE-2025-67642CVE-2025-67641CVE-2025-67640CVE-2025-67639CVE-2025-67638CVE-2025-67637CVE-2025-67636All 1,739
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.