CVE-2024-28188: jupyter-scheduler's endpoint is missing authentication
Impact jupyterscheduler is missing an authentication check in Jupyter Server on an API endpoint (GET /scheduler/runtimeenvironments) which lists the names of the Conda environments on the server. In affected versions, jupyterscheduler 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.
Published May 23, 2024 · Updated May 27, 2024
Affected packages
jupyter-scheduler
- Ecosystem
- PyPI
- Affected
- >= 1.0.0, < 1.1.6
- Fixed in
- 1.1.6
- Check
pip show jupyter-scheduler
jupyter-scheduler
- Ecosystem
- PyPI
- Affected
- = 1.2.0
- Fixed in
- 1.2.1
- Check
pip show jupyter-scheduler
jupyter-scheduler
- Ecosystem
- PyPI
- Affected
- >= 1.3.0, < 1.8.2
- Fixed in
- 1.8.2
- Check
pip show jupyter-scheduler
jupyter-scheduler
- Ecosystem
- PyPI
- Affected
- >= 2.0.0, < 2.5.2
- Fixed in
- 2.5.2
- Check
pip show jupyter-scheduler
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.6jupyter-scheduler==1.2.1jupyter-scheduler==1.8.2jupyter-scheduler==2.5.2
Workarounds
Server operators who are unable to upgrade can disable the jupyter-scheduler extension with:
jupyter server extension disable jupyter-schedulerReferences
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]](mailto:[email protected]). Please do not create a public GitHub issue.
[1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting
Credited to krassowski, Carreau, andrii-i, dlqqq, yuvipanda.
References
- https://github.com/jupyter-server/jupyter-scheduler/security/advisories/GHSA-v9g2-g7j4-4jxc
- https://nvd.nist.gov/vuln/detail/CVE-2024-28188
- https://github.com/jupyter-server/jupyter_server/pull/1392
- https://github.com/jupyter-server/jupyter-scheduler/commit/06435a2277bb2b8f441ec9cedafa474572b92c5d
- https://github.com/jupyter-server/jupyter-scheduler/commit/a621b386397280cc8ee5a208dca4607cb71cdd65
- https://github.com/jupyter-server/jupyter-scheduler/commit/d428ac871909444e175ba421bf8ab4980d6ebf9f
- https://github.com/jupyter-server/jupyter-scheduler/commit/f4137a779fdf0cc4a9688a42dd8c6e7ade60f044
- https://github.com/advisories/GHSA-v9g2-g7j4-4jxc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
