SCA: security update for spatie/browsershot (GHSA-g2r4-phv7-5fgv)

high Tenable Cloud Security Plugin ID 414799

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to
improper URL validation in the setUrl method. An attacker can exploit this vulnerability by using leading
whitespace (%20) before the file:// protocol, resulting in Local File Inclusion, which allows the attacker
to read sensitive files on the server. (CVE-2024-21544)

See Also

https://github.com/advisories/GHSA-g2r4-phv7-5fgv

Plugin Details

Severity: High

ID: 414799

Version: Revision 1.13

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 51.23

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-21544

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/13/2024

Vulnerability Publication Date: 12/13/2024

Reference Information

CVE: CVE-2024-21544

cwe: CWE-20