External Control of File Name or Path Affecting dompdf/dompdf package, versions <2.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.1% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-DOMPDFDOMPDF-2953235
  • published19 Jul 2022
  • disclosed19 Jul 2022
  • credithaxatron

Introduced: 19 Jul 2022

CVE-2022-2400  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade dompdf/dompdf to version 2.0.0 or higher.

Overview

Affected versions of this package are vulnerable to External Control of File Name or Path due to insufficient URI validation in src/Image/Cache.php, which allows an attacker to retrieve image files from the affected system.

CVSS Scores

version 3.1