UBUNTU-CVE-2022-25887

Source
https://ubuntu.com/security/CVE-2022-25887
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25887.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-25887
Related
Published
2022-08-30T05:15:00Z
Modified
2025-06-02T17:16:18Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.

References

Affected packages

Ubuntu:22.04:LTS / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/ubuntu/jupyter-notebook@6.4.8-1ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.2.0-1
6.4.5-2
6.4.5-3
6.4.5-4
6.4.8-1
6.4.8-1ubuntu0.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/ubuntu/node-sanitize-html@2.6.1-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.6.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:22.04:LTS / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/ubuntu/jupyter-notebook@6.4.8-1ubuntu0.1+esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.4.8-1ubuntu0.1+esm1

Affected versions

6.*

6.2.0-1
6.4.5-2
6.4.5-3
6.4.5-4
6.4.8-1
6.4.8-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.4.8-1ubuntu0.1+esm1",
            "binary_name": "jupyter-notebook"
        },
        {
            "binary_version": "6.4.8-1ubuntu0.1+esm1",
            "binary_name": "python-notebook-doc"
        },
        {
            "binary_version": "6.4.8-1ubuntu0.1+esm1",
            "binary_name": "python3-notebook"
        }
    ],
    "ubuntu_priority": "medium",
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Ubuntu:24.10 / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/ubuntu/jupyter-notebook@6.4.13-2ubuntu0.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.4.13-2ubuntu0.1

Affected versions

6.*

6.4.12-2.2ubuntu1
6.4.13-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.4.13-2ubuntu0.1",
            "binary_name": "jupyter-notebook"
        },
        {
            "binary_version": "6.4.13-2ubuntu0.1",
            "binary_name": "python-notebook-doc"
        },
        {
            "binary_version": "6.4.13-2ubuntu0.1",
            "binary_name": "python3-notebook"
        }
    ],
    "ubuntu_priority": "medium",
    "availability": "No subscription required"
}

Ubuntu:24.10 / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/ubuntu/node-sanitize-html@2.13.0+~2.11.0-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.8.0+~2.6.2-1
2.13.0+~2.11.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/ubuntu/jupyter-notebook@6.4.12-2.2ubuntu1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.4.12-2.2
6.4.12-2.2ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/ubuntu/node-sanitize-html@2.8.0+~2.6.2-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.8.0+~2.6.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:24.04:LTS / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/ubuntu/jupyter-notebook@6.4.12-2.2ubuntu1+esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.4.12-2.2ubuntu1+esm1

Affected versions

6.*

6.4.12-2.2
6.4.12-2.2ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.4.12-2.2ubuntu1+esm1",
            "binary_name": "jupyter-notebook"
        },
        {
            "binary_version": "6.4.12-2.2ubuntu1+esm1",
            "binary_name": "python-notebook-doc"
        },
        {
            "binary_version": "6.4.12-2.2ubuntu1+esm1",
            "binary_name": "python3-notebook"
        }
    ],
    "ubuntu_priority": "medium",
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Ubuntu:25.04 / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/ubuntu/jupyter-notebook@6.4.13-5ubuntu0.1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.4.13-5ubuntu0.1

Affected versions

6.*

6.4.13-2
6.4.13-3
6.4.13-4
6.4.13-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.4.13-5ubuntu0.1",
            "binary_name": "jupyter-notebook"
        },
        {
            "binary_version": "6.4.13-5ubuntu0.1",
            "binary_name": "python-notebook-doc"
        },
        {
            "binary_version": "6.4.13-5ubuntu0.1",
            "binary_name": "python3-notebook"
        }
    ],
    "ubuntu_priority": "medium",
    "availability": "No subscription required"
}

Ubuntu:25.04 / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/ubuntu/node-sanitize-html@2.14.0+~2.13.0-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.13.0+~2.11.0-1
2.13.1+~2.13.0-1
2.14.0+~2.13.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}