UBUNTU-CVE-2024-25885

Source
https://ubuntu.com/security/CVE-2024-25885
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25885.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-25885
Upstream
Published
2024-10-08T18:15:00Z
Modified
2025-10-24T05:06:59Z
Severity
  • 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
  • Ubuntu - medium
Summary
[none]
Details

An issue in the getcolor function in utils.py of xhtml2pdf v0.2.13 allows attackers to cause a Regular expression Denial of Service (ReDOS) via supplying a crafted string.

References

Affected packages

Ubuntu:18.04:LTS

xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf@0.2.1-1?arch=source&distro=bionic

Affected ranges

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

Affected versions

0.*

0.2b-1
0.2b-2
0.2.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-xhtml2pdf",
            "binary_version": "0.2.1-1"
        },
        {
            "binary_name": "python3-xhtml2pdf",
            "binary_version": "0.2.1-1"
        }
    ]
}

Ubuntu:20.04:LTS

xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf@0.2.4-1?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*

0.2.2-3
0.2.2-3build1
0.2.2-5
0.2.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-xhtml2pdf",
            "binary_version": "0.2.4-1"
        }
    ]
}

Ubuntu:22.04:LTS

xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf@0.2.5-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

0.*

0.2.4-1
0.2.4-1ubuntu1
0.2.5-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-xhtml2pdf",
            "binary_version": "0.2.5-1"
        }
    ]
}

Ubuntu:24.04:LTS

xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf@0.2.5-5?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*

0.2.5-3
0.2.5-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-xhtml2pdf",
            "binary_version": "0.2.5-5"
        }
    ]
}

Ubuntu:25.04

xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf@0.2.17+dfsg-1ubuntu1?arch=source&distro=plucky

Affected ranges

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

Affected versions

0.*

0.2.5-5
0.2.15+dfsg-2ubuntu1
0.2.17+dfsg-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-xhtml2pdf",
            "binary_version": "0.2.17+dfsg-1ubuntu1"
        }
    ]
}

Ubuntu:25.10

xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf@0.2.17+dfsg-1ubuntu1?arch=source&distro=questing

Affected ranges

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

Affected versions

0.*

0.2.17+dfsg-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-xhtml2pdf",
            "binary_version": "0.2.17+dfsg-1ubuntu1"
        }
    ]
}