MEDIUM5.3
GHSA-5qj8-6xxj-hp9h
Dompdf before v2.0.0 vulnerable to chroot check bypass
Quick fix
GHSA-5qj8-6xxj-hp9h — dompdf/dompdf: upgrade to the fixed version with the command below.
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-2400[ADVISORY]
- https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a[WEB]
- https://github.com/dompdf/dompdf[PACKAGE]
- https://huntr.dev/bounties/a6da5e5e-86be-499a-a3c3-2950f749202a[WEB]
- https://lists.debian.org/debian-lts-announce/2023/07/msg00017.html[WEB]