CVE-2021-3902

NameCVE-2021-3902
DescriptionImproper Restriction of XML External Entity Reference for included svg files
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php-dompdf (PTS)buster0.6.2+dfsg-3fixed
buster (security)0.6.2+dfsg-3+deb10u2fixed
bullseye0.6.2+dfsg-3.1fixed
bookworm2.0.3+dfsg-1fixed
sid, trixie2.0.4+dfsg-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-dompdfsourcebuster(not affected)
php-dompdfsourcebullseye(not affected)
php-dompdfsource(unstable)2.0.2+dfsg-1

Notes

[bullseye] - php-dompdf <not-affected> (current code reject svg image. Double checked by testing)
[buster] - php-dompdf <not-affected> (current code reject svg image. Double checked by testing)
https://github.com/dompdf/dompdf/issues/2564
https://huntr.dev/bounties/a6071c07-806f-429a-8656-a4742e4191b1
https://github.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799 (v2.0.0)

Search for package or bug name: Reporting problems