CVE-2024-25885

NameCVE-2024-25885
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1084986

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xhtml2pdf (PTS)bullseye0.2.4-1vulnerable
bookworm0.2.5-3vulnerable
sid, trixie0.2.15+dfsg-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xhtml2pdfsource(unstable)(unfixed)1084986

Notes

[bookworm] - xhtml2pdf <ignored> (Minor issue)
[bullseye] - xhtml2pdf <postponed> (Minor issue; can be fixed in next update)
https://gist.github.com/salvatore-abello/c88dd0027496774023ef36c7b576d206
https://github.com/xhtml2pdf/xhtml2pdf/issues/783
https://github.com/xhtml2pdf/xhtml2pdf/pull/784
https://github.com/xhtml2pdf/xhtml2pdf/commit/1346cb39a06307f256c921938b887b525009a996

Search for package or bug name: Reporting problems