GitHub Advisoryadvisory · PyPI
GHSA-jj5c-hhrg-vv5h xhtml2pdf Denial of Service via crafted string
MEDIUM
Official page ↗
- Aliases
- CVE-2024-25885
- Ecosystem
- PyPI
- Packages
- xhtml2pdf
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-1333
- Reviewed
- 2024-10-09
Affected packages
• PyPI xhtml2pdf: <= 0.2.16 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2024-25885 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)… vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness