GitHub Advisoryadvisory · Packagist
GHSA-6x28-7h8c-chx4 Dompdf allows remote file inclusion because URI validation failure does not halt font registration
HIGH
Official page ↗
- Aliases
- CVE-2022-41343
- Ecosystem
- Packagist
- Packages
- dompdf/dompdf
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-552
- Reviewed
- 2022-09-30
Affected packages
• Packagist dompdf/dompdf: < 2.0.1 → fixed in 2.0.1
Description
`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.
Related
Alias · CVE (1)
- CVE-2022-41343 registerFont in FontMetrics.php in Dompdf before 2.0.1 allows remote file inclusion because a URI validation failure does not halt font… vulnerability
Weakness · CWE (1)
- CWE-552 Files or Directories Accessible to External Parties weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-41343 advisory
- https://github.com/dompdf/dompdf/issues/2994 web
- https://github.com/dompdf/dompdf/pull/2995 web
- https://github.com/dompdf/dompdf/commit/66431c58017d5b1bdb9f6f772b9fbbc5e3d38dc2 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-41343.yaml web
- https://github.com/advisories/GHSA-6x28-7h8c-chx4 advisory
- https://github.com/dompdf/dompdf package
- https://github.com/dompdf/dompdf/releases/tag/v2.0.1 web
- https://tantosec.com/blog/cve-2022-41343 web