Advisory

PYSEC-2022-16

Also known as: CVE-2022-21697, GHSA-gcv9-6737-pjqw

Summary

The record has no summary.

Details

Jupyter Server Proxy is a Jupyter notebook server extension to proxy web services. Versions of Jupyter Server Proxy prior to 3.2.1 are vulnerable to Server-Side Request Forgery (SSRF). Any user deploying Jupyter Server or Notebook with jupyter-proxy-server extension enabled is affected. A lack of input validation allows authenticated clients to proxy requests to other hosts, bypassing the allowed_hosts check. Because authentication is required, which already grants permissions to make the same requests via kernel or terminal execution, this is considered low to moderate severity. Users may upgrade to version 3.2.1 to receive a patch or, as a workaround, install the patch manually.

Severity

Not rated by the source.

Dates

Published
2022-01-25 14:15 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

jupyter-server-proxy

PyPI · All systems

Affected

  • introduced 0, fixed 3.2.1 (ecosystem)

Fixed versions

3.2.1

Fix

  • Fixed version 3.2.1
    pip install --upgrade jupyter-server-proxy==3.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences