Advisory

GHSA-m87f-39q9-6f55

Also known as: BIT-jupyter-base-notebook-2022-24758, BIT-jupyter-notebook-2022-24758, CVE-2022-24758, PYSEC-2022-180

Summary

Sensitive Auth & Cookie data stored in Jupyter server logs

Details

Anytime a 5xx error is triggered, the auth cookie and other header values are recorded in Jupyter server logs by default. Considering these logs do not require root access, an attacker can monitor these logs, steal sensitive auth/cookie information, and gain access to the Jupyter server.

Upgrade to notebook version 6.4.10

For more information

If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list [[email protected]](mailto:[email protected]).

Credit: @3coins for reporting. Thank you!

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-04-05 17:47 UTC
Modified
2023-12-06 01:02 UTC

Affected packages and fixes

notebook

PyPI · All systems

Affected

  • introduced 0, fixed 6.4.10 (ecosystem)

Fixed versions

6.4.10

Fix

  • Fixed version 6.4.10
    pip install --upgrade notebook==6.4.10

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences