Advisory

GHSA-p737-p57g-4cpr

Also known as: CVE-2022-24757, PYSEC-2022-179

Summary

Insertion of Sensitive Information into Log File in Jupyter notebook

Details

Impact
_What kind of vulnerability is it?_

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.

Patches
_Has the problem been patched? What versions should users upgrade to?_

Upgrade to Jupyter Server version 1.15.4

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-03-25 19:20 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

jupyter-server

PyPI · All systems

Affected

  • introduced 0, fixed 1.15.4 (ecosystem)

Fixed versions

1.15.4

Fix

  • Fixed version 1.15.4
    pip install --upgrade jupyter-server==1.15.4

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