CVE-2022-24757 Sensitive Auth & Cookie data stored in Jupyter server logs

High 7.5 Published Updated

Attackers can steal sensitive authentication cookies from Jupyter Server logs during 5xx errors, leading to unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24757?

CVE-2022-24757 is a high-severity vulnerability in jupyter-server jupyter_server, published on 23 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications. Prior to version 1.15.4, unauthorized actors can access sensitive information from server logs. 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. Jupyter Server version 1.15.4 contains a patch for this issue. There are currently no known workarounds.

Weakness: CWE-532

Which versions are affected by CVE-2022-24757?

3 open source packages ship an affected version, including jupyter-server. It affects 1 product.

PackageAffectedFixed in
jupyter-server PyPIAll versions1.15.4
jupyter-server PyPIAll versions1.15.4
jupyter-server PyPIAll versions1.15.4

Products include Jupyter Jupyter Server.

How do I fix CVE-2022-24757?

Upgrade jupyter-server to 1.15.4 or later.

Is CVE-2022-24757 being exploited?

There is no known exploitation of CVE-2022-24757 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-24757, GHSA-p737-p57g-4cpr, PYSEC-2022-179, UBUNTU-CVE-2022-24757.

Is CVE-2022-24757 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free