Skip to content

CVE-2024-48914 Vendure asset server plugin has local file read vulnerability with AssetServerPlugin & LocalAssetStorageStrategy

CriticalCVSS 9.1 EPSS 60.4% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

Vendure is an open-source headless commerce platform. Prior to versions 3.0.5 and 2.3.3, a vulnerability in Vendure's asset server plugin allows an attacker to craft a request which is able to traverse the server file system and retrieve the contents of arbitrary files, including sensitive data such as configuration files, environment variables, and other critical data stored on the server. In the same code path is an additional vector for crashing the server via a malformed URI. Patches are available in versions 3.0.5 and 2.3.3. Some workarounds are also available. One may use object storage rather than the local file system, e.g. MinIO or S3, or define middleware which detects and blocks requests with urls containing /../.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
vendure < 2.3.3; < 3.0.5; <= 3.0.0 2.3.3, 3.0.5 Fixed
vendure @vendure/asset-server-plugin(npm) < 2.3.3; >= 3.0.0, < 3.0.5 2.3.3, 3.0.5 Fixed
vendure-ecommerce vendure = < 2.3.3; = >= 3.0.0, < 3.0.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
vendure @vendure/asset-server-plugin(npm) < 2.3.3 2.3.3
vendure @vendure/asset-server-plugin(npm) >= 3.0.0, < 3.0.5 3.0.5
vendure-ecommerce vendure = < 2.3.3 No fix listed
vendure-ecommerce vendure = >= 3.0.0, < 3.0.5 No fix listed
vendure < 2.3.3 2.3.3
vendure <= 3.0.0 No fix listed
vendure < 3.0.5 3.0.5

References