CVE-2024-28188: Jupyter scheduler Jupyter-scheduler's Endpoint Is Missing Authentication Vulnerability

MODERATE
Advisory Identifier: GHSA-v9g2-g7j4-4jxc
CVSS 5.3
CWE-287 CWE-200
Published
Advisory Summary

CVE-2024-28188 is a MODERATE (CVSS 5.3) jupyter-scheduler's endpoint is missing authentication vulnerability (CWE-287: Improper Authentication) affecting Jupyter scheduler libraries in the PyPI ecosystem. The issue involves jupyter-scheduler's endpoint is missing authentication. Remediation is available by upgrading affected packages to version 1.1.6, 1.2.1, 1.8.2, 2.5.2.

CVE-2024-28188 at a Glance

CVE Identifier CVE-2024-28188
GHSA Identifier GHSA-v9g2-g7j4-4jxc
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-287: Improper Authentication
Affected Product Jupyter scheduler
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-28188

To remediate this vulnerability, upgrade all affected Jupyter scheduler dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

jupyter-scheduler fixed: 1.1.6
pip install jupyter-scheduler>=1.1.6
jupyter-scheduler fixed: 1.2.1
pip install jupyter-scheduler>=1.2.1
jupyter-scheduler fixed: 1.8.2
pip install jupyter-scheduler>=1.8.2
jupyter-scheduler fixed: 2.5.2
pip install jupyter-scheduler>=2.5.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show jupyter-scheduler

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2024-28188, inspect your installed packages using pip:

pip show jupyter-scheduler

Analyze the terminal output to locate any version of Jupyter scheduler in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.6), your application is affected.

Note: The pip show jupyter-scheduler command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Jupyter scheduler, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact `jupyter_scheduler` is missing an authentication check in Jupyter Server on an API endpoint (`GET /scheduler/runtime_environments`) which lists the names of the Conda environments on the server. In affected versions, `jupyter_scheduler` allows an unauthenticated user to obtain the list of Conda environment names on the server. This reveals any information that may be present in a Conda environment name. This issue does **not** allow an unauthenticated third party to read, modify, or enter the Conda environments present on the server where `jupyter_scheduler` is running. This issue only reveals the list of Conda environment names. Impacted versions: `>=1.0.0,<=1.1.5 ; ==1.2.0 ; >=1.3.0,<=1.8.1 ; >=2.0.0,<=2.5.1` ### Patches * `jupyter-scheduler==1.1.6` * `jupyter-scheduler==1.2.1` * `jupyter-scheduler==1.8.2` * `jupyter-scheduler==2.5.2` ### Workarounds Server operators who are unable to upgrade can disable the `jupyter-scheduler` extension with: ``` jupyter server extension disable jupyter-scheduler ``` ### References If you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue. [1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting

CVE-2024-28188 Affected Jupyter scheduler Versions

4 component(s)
Fixed Versions:
1.1.61.2.11.8.22.5.2
Product / Package Ecosystem Affected Versions Fixed Version
jupyter-scheduler
PyPI
≥ 1.0.0
< 1.1.6
1.1.6
jupyter-scheduler
PyPI
≥ 1.2.0
< 1.2.1
All 1 versions
1.2.0
1.2.1
jupyter-scheduler
PyPI
≥ 1.3.0
< 1.8.2
1.8.2
jupyter-scheduler
PyPI
≥ 2.0.0
< 2.5.2
2.5.2

References

Frequently Asked Questions

What is CVE-2024-28188?
CVE-2024-28188 is a security vulnerability in Jupyter scheduler involving jupyter-scheduler's endpoint is missing authentication under CWE-287: Improper Authentication.
Which Jupyter scheduler versions are affected?
Affected versions include releases prior to 1.1.6, 1.2.1, 1.8.2, 2.5.2 across affected packages: jupyter-scheduler.
What version fixes CVE-2024-28188?
Upgrading to 1.1.6, 1.2.1, 1.8.2, 2.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jupyter-scheduler affected?
Yes, jupyter-scheduler is affected in releases prior to 1.1.6, 1.2.1, 1.8.2, 2.5.2. Upgrade your dependency to 1.1.6, 1.2.1, 1.8.2, 2.5.2 or later.
What is the CVSS score of CVE-2024-28188?
CVE-2024-28188 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-28188?
CVE-2024-28188 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check PyPI dependencies for CVE-2024-28188?
Run the dependency tree command: 'pip show jupyter-scheduler'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v9g2-g7j4-4jxc",
  "modified" : "2024-05-23T14:00:16Z",
  "published" : "2024-05-23T14:00:15Z",
  "aliases" : [ "CVE-2024-28188" ],
  "summary" : "jupyter-scheduler's endpoint is missing authentication",
  "details" : "### Impact\n\n`jupyter_scheduler` is missing an authentication check in Jupyter Server on an API endpoint (`GET /scheduler/runtime_environments`) which lists the names of the Conda environments on the server. In affected versions, `jupyter_scheduler` allows an unauthenticated user to obtain the list of Conda environment names on the server. This reveals any information that may be present in a Conda environment name.\n\nThis issue does **not** allow an unauthenticated third party to read, modify, or enter the Conda environments present on the server where `jupyter_scheduler` is running. This issue only reveals the list of Conda environment names.\n\nImpacted versions: `>=1.0.0,<=1.1.5 ; ==1.2.0 ; >=1.3.0,<=1.8.1 ; >=2.0.0,<=2.5.1`\n\n### Patches\n\n* `jupyter-scheduler==1.1.6`\n* `jupyter-scheduler==1.2.1`\n* `jupyter-scheduler==1.8.2`\n* `jupyter-scheduler==2.5.2`\n\n### Workarounds\n\nServer operators who are unable to upgrade can disable the `jupyter-scheduler` extension with:\n\n```\njupyter server extension disable jupyter-scheduler\n```\n\n### References\n\nIf you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n[1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "jupyter-scheduler"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.1.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "jupyter-scheduler"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2.0"
      }, {
        "fixed" : "1.2.1"
      } ]
    } ],
    "versions" : [ "1.2.0" ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "jupyter-scheduler"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.8.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "jupyter-scheduler"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.5.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jupyter-server/jupyter-scheduler/security/advisories/GHSA-v9g2-g7j4-4jxc"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-28188"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyter-server/jupyter_server/pull/1392"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyter-server/jupyter-scheduler/commit/06435a2277bb2b8f441ec9cedafa474572b92c5d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyter-server/jupyter-scheduler/commit/a621b386397280cc8ee5a208dca4607cb71cdd65"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyter-server/jupyter-scheduler/commit/d428ac871909444e175ba421bf8ab4980d6ebf9f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyter-server/jupyter-scheduler/commit/f4137a779fdf0cc4a9688a42dd8c6e7ade60f044"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jupyter-server/jupyter-scheduler"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-23T14:00:15Z",
    "nvd_published_at" : "2024-05-23T12:15:10Z"
  }
}