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
Related
Published
2024-10-08T18:15:00Z
Modified
2025-04-23T15:13:41Z
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:Pro:18.04:LTS / xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf@0.2.1-1?arch=source&distro=esm-apps/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

{
    "ubuntu_priority": "medium"
}

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

{
    "ubuntu_priority": "medium"
}

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

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / xhtml2pdf

Package

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

Affected ranges

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

Affected versions

0.*

0.2.5-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

{
    "ubuntu_priority": "medium"
}

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

{
    "ubuntu_priority": "medium"
}