Upstream information

CVE-2024-25885 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
CVSS detail CNA (CISA-ADP)
Base Score 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1231408 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Package Hub 15 SP5
  • python3-xhtml2pdf >= 0.2.4-bp155.3.3.1
Patchnames:
openSUSE-2024-415
SUSE Package Hub 15 SP6
  • python3-xhtml2pdf >= 0.2.4-bp156.4.3.1
Patchnames:
openSUSE-2024-414
openSUSE Leap 15.5
  • python3-xhtml2pdf >= 0.2.4-bp155.3.3.1
Patchnames:
openSUSE-2024-415
openSUSE Leap 15.6
  • python3-xhtml2pdf >= 0.2.4-bp156.4.3.1
Patchnames:
openSUSE-2024-414
openSUSE Tumbleweed
  • python310-xhtml2pdf >= 0.2.16-2.1
  • python311-xhtml2pdf >= 0.2.16-2.1
  • python312-xhtml2pdf >= 0.2.16-2.1
  • python313-xhtml2pdf >= 0.2.16-2.1
Patchnames:
openSUSE-Tumbleweed-2024-14601


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Package Hub 15 SP6 python-xhtml2pdf Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Package Hub 15 SP5 python-xhtml2pdf Released


SUSE Timeline for this CVE

CVE page created: Tue Oct 8 21:14:58 2024
CVE page last modified: Thu Dec 11 17:33:11 2025