Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-23898

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-23898
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:34 UTC · Revision 1

Source evidence

CVE-2024-23898

core-osv · Original source

Published 24 Jan 2024, 18:15 UTC

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.

osv:CVE-2024-23898
Complete source record
{
  "id": "b64db023026b3113c3a9e8a1e937cf6c76afe196a0592f2766f08ba1d100e06c",
  "url": "https://osv.dev/vulnerability/CVE-2024-23898",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-23898",
    "summary": "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.",
    "evidence": "osv:CVE-2024-23898",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-23898",
      "aliases": [
        "BIT-jenkins-2024-23898",
        "CVE-2024-23898",
        "GHSA-53ph-2r2x-vqw8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jenkinsci/jenkins",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3d8a846a753478d75141de0edd3283d7567dbf50"
                },
                {
                  "last_affected": "3b0de10df3bedba515e13032104d4d84f83045be"
                },
                {
                  "introduced": "d66bd8595e531749e842274a806eabab5cc16a32"
                },
                {
                  "last_affected": "3eb70099423f93c9de29fca3c6b5b6efd2847ad0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "2.217"
                      },
                      {
                        "last_affected": "2.441"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*",
                    "range": [
                      {
                        "introduced": "2.222.1"
                      },
                      {
                        "last_affected": "2.426.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23898.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:30.460937058Z",
      "provider": "osv",
      "references": [
        "https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315",
        "https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2024-23898",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432580,
  "published_at": "2024-01-24T18:15:09.42+00:00"
}