
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
CVE-2024-21547 affects the spatie/browsershot package versions before 5.0.2. This vulnerability is a Directory Traversal issue discovered in December 2024, where attackers can bypass file:// URI checks through browser URI normalization. The vulnerability was disclosed on December 13, 2024, and affects the package's URL handling functionality (Snyk Security, NVD Database).
The vulnerability exists due to insufficient URL validation in the package's setUrl function. The original implementation only checked for 'file://' and 'file:/' prefixes, but failed to account for backslash variants. Due to browser URI normalization, the characters '' are converted to '/', allowing attackers to bypass the security check. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) and a CVSS v4.0 score of 7.7 (HIGH), indicating significant security risk (Snyk Security).
The vulnerability allows attackers to read any file accessible by the server hosting Browsershot. This includes sensitive information such as API keys, source code, and other confidential files stored on the target server (GitHub POC).
The vulnerability has been patched in version 5.0.2 of spatie/browsershot. The fix includes improved detection of file URLs by checking for additional protocol variants including 'file:' and 'file:\'. Users should upgrade to version 5.0.2 or later to protect against this vulnerability (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”