Name | CVE-2022-28368 |
Description | Dompdf 1.2.1 allows remote code execution via a .php file in the src:url field of an @font-face Cascading Style Sheets (CSS) statement (within an HTML input file). |
Source | CVE (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 Package | Release | Version | Status |
---|
php-dompdf (PTS) | bullseye | 0.6.2+dfsg-3.1 | fixed |
| bookworm | 2.0.3+dfsg-1 | fixed |
| sid, trixie | 3.0.0+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php-dompdf | source | (unstable) | (not affected) | | | |
Notes
- php-dompdf <not-affected> (Vulnerable code introduced in 0.8.0, fixed in 1.2.1)
https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/
https://positive.security/blog/dompdf-rce
https://github.com/dompdf/dompdf/issues/2598
https://github.com/dompdf/dompdf/pull/2808
https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d (v1.2.1)
Vulnerability introduced by:
https://github.com/dompdf/dompdf/commit/0e0261b7bce372b3a05b712a023f6f742a22d57e (v0.8.0)