CVE-2024-21547
HIGH7.5EPSS 0.07%Spatie Browsershot Directory Traversal vulnerability
發布日:2024/12/18修改日:2024/12/18
描述
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 /.
受影響套件(1)
- Packagist/spatie/browsershotfrom 0, < 5.0.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-21547
- PATCHhttps://github.com/spatie/browsershot
- WEBhttps://gist.github.com/chuajianshen/baa71db588cfc038fb5d65624a47be81
- WEBhttps://github.com/spatie/browsershot/commit/dfc3635b83dd980e5c39f8f8c73e87723b99ca01
- WEBhttps://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8501858