MediumGHSA-5qj8-6xxj-hp9hCVE-2022-2400
Dompdf before v2.0.0 vulnerable to chroot check bypass
Published 19 Jul 2022 · Updated 16 Feb 2024
Affected package
dompdf/dompdfComposer
- Affected
- <2.0.0
- Fixed in
- 2.0.0
Update to the fixed version for your release line, for example:
composer require dompdf/dompdf:^2.0.0Details
Dompdf prior to version 2.0.0 is vulnerable to a chroot check bypass, which could cause disclosure of png and jpeg files.
Is GHSA-5qj8-6xxj-hp9h in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected dompdf/dompdf, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.