PT-2024-18958 · Spatie · Spatie/Browsershot

Jian Shen Chua

·

Published

2024-12-18

·

Updated

2024-12-23

·

CVE-2024-21547

CVSS v4.0

7.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions spatie/browsershot versions prior to 5.0.2
Description The issue is related to Directory Traversal due to URI normalization in the browser. An attacker could bypass the file:// check with file:, allowing access to server files by exploiting the normalization of into /.
Recommendations For versions prior to 5.0.2, update to version 5.0.2 or later to resolve the issue. As a temporary workaround, consider restricting access to sensitive files on the server until the update is applied.

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2024-21547
GHSA-V528-6RQ9-H6GW

Affected Products

Spatie/Browsershot