Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.main/jenkins-core
  4. ›
  5. CVE-2024-23898

CVE-2024-23898: Cross-site WebSocket hijacking vulnerability in the Jenkins CLI

January 24, 2024 (updated January 26, 2024)

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.

References

  • www.openwall.com/lists/oss-security/2024/01/24/6
  • github.com/advisories/GHSA-53ph-2r2x-vqw8
  • nvd.nist.gov/vuln/detail/CVE-2024-23898
  • www.jenkins.io/security/advisory/2024-01-24/

Code Behaviors & Features

Detect and mitigate CVE-2024-23898 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.222.1 before 2.427

Fixed versions

  • 2.427

Solution

Upgrade to version 2.427 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

maven/org.jenkins-ci.main/jenkins-core/CVE-2024-23898.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.