GitHub Advisoryadvisory · PyPI

GHSA-v9g2-g7j4-4jxc jupyter-scheduler's endpoint is missing authentication

MEDIUM Published 2024-05-23 Modified 2024-05-23 Official page ↗
Aliases
CVE-2024-28188
Ecosystem
PyPI
Packages
jupyter-scheduler
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200, CWE-287
Reviewed
2024-05-23

Affected packages

• PyPI jupyter-scheduler: >= 1.0.0, < 1.1.6 → fixed in 1.1.6 • PyPI jupyter-scheduler: >= 1.2.0, < 1.2.1 → fixed in 1.2.1 • PyPI jupyter-scheduler: >= 1.3.0, < 1.8.2 → fixed in 1.8.2 • PyPI jupyter-scheduler: >= 2.0.0, < 2.5.2 → fixed in 2.5.2

Description

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.3.0,=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 [email protected]. Please do not create a public GitHub issue. [1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting

Related

Alias · CVE (1)

  • CVE-2024-28188 Jupyter Scheduler is collection of extensions for programming jobs to run now or run on a schedule. vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-287 Improper Authentication weakness

References