First published: Thu Sep 22 2022(Updated: )
`registerFont` in `FontMetrics.php` in Dompdf before 2.0.1 allows remote file inclusion because a URI validation failure does not halt font registration, as demonstrated by a `@font-face` rule.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
composer/dompdf/dompdf | <2.0.1 | |
composer/dompdf/dompdf | <2.0.1 | 2.0.1 |
Dompdf | <2.0.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-41343 is a vulnerability that allows remote file inclusion in Dompdf before version 2.0.1.
CVE-2022-41343 has a severity level of 7.5 (high) according to the Common Vulnerability Scoring System (CVSS) v3.1.
Dompdf before version 2.0.1 is affected by CVE-2022-41343.
CVE-2022-41343 allows remote file inclusion by bypassing URI validation in Dompdf's `registerFont` function.
Yes, upgrading to Dompdf version 2.0.1 or higher is the recommended fix for CVE-2022-41343.