Ubuntu 6741 Published by

Updated Jupyter Notebook packages have been released for Ubuntu versions 25.04, 24.10, 24.04 LTS, and 22.04 LTS to address a security issue. This issue may lead to Jupyter Notebook crashing when it processes specifically crafted input, which could result in a regular expression denial of service (ReDoS).

[USN-7464-1] Jupyter Notebook vulnerability




[USN-7464-1] Jupyter Notebook vulnerability


==========================================================================
Ubuntu Security Notice USN-7464-1
April 28, 2025

jupyter-notebook vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 25.04
- Ubuntu 24.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS

Summary:

Jupyter Notebook could be made to crash if it received specially crafted
input.

Software Description:
- jupyter-notebook: Jupyter interactive notebook

Details:

It was discovered that Jupyter Notebook did not properly parse HTML
comments under certain circumstances. An attacker could possibly use this
issue to cause a regular expression denial of service (ReDoS).

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 25.04
  jupyter-notebook                6.4.13-5ubuntu0.1
  python3-notebook                6.4.13-5ubuntu0.1

Ubuntu 24.10
  jupyter-notebook                6.4.13-2ubuntu0.1
  python3-notebook                6.4.13-2ubuntu0.1

Ubuntu 24.04 LTS
  jupyter-notebook                6.4.12-2.2ubuntu1+esm1
                                  Available with Ubuntu Pro
  python3-notebook                6.4.12-2.2ubuntu1+esm1
                                  Available with Ubuntu Pro

Ubuntu 22.04 LTS
  jupyter-notebook                6.4.8-1ubuntu0.1+esm1
                                  Available with Ubuntu Pro
  python3-notebook                6.4.8-1ubuntu0.1+esm1
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-7464-1
  CVE-2022-25887

Package Information:
https://launchpad.net/ubuntu/+source/jupyter-notebook/6.4.13-5ubuntu0.1
https://launchpad.net/ubuntu/+source/jupyter-notebook/6.4.13-2ubuntu0.1