ghsa-v528-6rq9-h6gw
Vulnerability from github
Published
2024-12-18 06:30
Modified
2024-12-18 15:48
Severity ?
Summary
Spatie Browsershot Directory Traversal vulnerability
Details
Versions of the package spatie/browsershot before 5.0.2 are vulnerable to Directory Traversal due to URI normalisation in the browser where the file:// check can be bypassed with file:\. An attacker could read any file on the server by exploiting the normalization of \ into /.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "spatie/browsershot" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.0.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-21547" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2024-12-18T15:48:22Z", "nvd_published_at": "2024-12-18T06:15:23Z", "severity": "HIGH" }, "details": "Versions of the package spatie/browsershot before 5.0.2 are vulnerable to Directory Traversal due to URI normalisation in the browser where the file:// check can be bypassed with file:\\\\. An attacker could read any file on the server by exploiting the normalization of \\ into /.", "id": "GHSA-v528-6rq9-h6gw", "modified": "2024-12-18T15:48:22Z", "published": "2024-12-18T06:30:49Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21547" }, { "type": "WEB", "url": "https://github.com/spatie/browsershot/commit/dfc3635b83dd980e5c39f8f8c73e87723b99ca01" }, { "type": "WEB", "url": "https://gist.github.com/chuajianshen/baa71db588cfc038fb5d65624a47be81" }, { "type": "PACKAGE", "url": "https://github.com/spatie/browsershot" }, { "type": "WEB", "url": "https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8501858" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P", "type": "CVSS_V4" } ], "summary": "Spatie Browsershot Directory Traversal vulnerability" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.