Jupyter-server jupyter_server
Jupyter Server: 5xx request logging leaks token-bearing Referer header values
Jupyter Server is the backend for Jupyter web applications. Prior to version 2.21.0, the 5xx request logging path in jupyter_server/log.py copies the Referer header into a JSON header block without applying the token scrubbing used for the request URI. A request that returns HTTP 500 while the Referer contains a token-bearing URL can therefore write that token to server logs in plaintext. An attacker who can read those logs can recover the token and use the affected user's Jupyter Server permissions. This issue is fixed in version 2.21.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-532
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
jupyter-server jupyter_server
- < 2.21.0
Fixed in 2.21.0
Mitigation
Upgrade jupyter_server to 2.21.0 or later.
References
- Vendor advisory github.com/jupyter-server/jupyter_server/secur…
- Patch github.com/jupyter-server/jupyter_server/pull/…
- Patch github.com/jupyter-server/jupyter_server/commi…
1 more
- Release notes github.com/jupyter-server/jupyter_server/relea…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.