CVE-2025-23205 `frame-ancestors: self` grants all users access to formgrader in nbgrader
설명
nbgrader is a system for assigning and grading notebooks. Enabling frame-ancestors: 'self' grants any JupyterHub user the ability to extract formgrader content by sending malicious links to users with access to formgrader, at least when using the default JupyterHub configuration of `enable_subdomains = False`. #1915 disables a protection which would allow user Alice to craft a page embedding formgrader in an IFrame. If Bob visits that page, his credentials will be sent and the formgrader page loaded. Because Alice's page is on the same Origin as the formgrader iframe, Javasript on Alice's page has _full access_ to the contents of the page served by formgrader using Bob's credentials. This issue has been addressed in release 0.9.5 and all users are advised to upgrade. Users unable to upgrade may disable `frame-ancestors: self`, or enable per-user and per-service subdomains with `JupyterHub.enable_subdomains = True` (then even if embedding in an IFrame is allowed, the host page does not have access to the contents of the frame).
영향 받는 제품 제품 1개
-
jupyter
nbgrader
영향 받는 버전
- 0.9.4
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
PyPI · nbgrader
영향 받는 버전 · 해결 버전
- 영향 0.9.4 이상 0.9.5 미만 · 해결 0.9.5 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 4건
- github.com https://github.com/jupyter/nbgrader/commit/73e137511ac1dc02e95790d4fd6d4d88dab42325 (새 창)
- github.com https://github.com/jupyter/nbgrader/pull/1915 (새 창)
- github.com https://github.com/jupyter/nbgrader/security/advisories/GHSA-fcr8-4r9f-r66m (새 창)
- jupyterhub.readthedocs.io https://jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html#:~:text=frame-ancestors (새 창)