CVE-2024-48914

Critical

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 `/../`.

SeverityCritical
CVSS9.1
Exploit probability—
Product@vendure/asset-server-plugin
PublishedOct 15, 2024
First seenOct 15, 2024

How to fix

Update
  • @vendure/asset-server-plugin2.3.3, 3.0.5 or later

Affected products

ProductAffected versionsFixed in
@vendure/asset-server-pluginnpmv < 2.3.3, 3.0.0 ≤ v < 3.0.52.3.3, 3.0.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-48914 · @vendure/asset-server-plugin · Dark Radar