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)buster0.2.2-2vulnerable
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
xhtml2pdfsourcebuster(unfixed)end-of-life
xhtml2pdfsource(unstable)(unfixed)1084986

Notes

[bookworm] - xhtml2pdf <no-dsa> (Minor issue)
[bullseye] - xhtml2pdf <postponed> (Minor issue; can be fixed in next update)
https://gist.github.com/salvatore-abello/c88dd0027496774023ef36c7b576d206

Search for package or bug name: Reporting problems