CVE-2024-42356: Shopware vulnerable to Server Side Template Injection in Twig using Context functions

CVE-2024-42356 · Severity: low · CVSS 3.1 · Published 2024-08-08

Shopware vulnerable to Server Side Template Injection in Twig using Context functions

Technologies: shopware/core (Packagist), shopware/platform (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2024-42356 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-42356 being exploited in the wild.
How severe is CVE-2024-42356?
Low severity, with a CVSS score of 3.1, published 8 August 2024.
Which products and versions are affected?
shopware/core (Packagist) ECOSYSTEM:introduced=0,fixed=6.5.8.13; shopware/platform (Packagist) ECOSYSTEM:introduced=0,fixed=6.5.8.13.
Is there a fix for CVE-2024-42356?
Yes. shopware/core (Packagist): upgrade to 6.5.8.13 or later; shopware/platform (Packagist): upgrade to 6.5.8.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-42356?
Check whether you run shopware/core (Packagist) or shopware/platform (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • shopware/core (Packagist): upgrade to 6.5.8.13 or later
    composer require shopware/core:^6.5.8.13
  • shopware/platform (Packagist): upgrade to 6.5.8.13 or later
    composer require shopware/platform:^6.5.8.13

Affected products

  • shopware/core (Packagist) ECOSYSTEM:introduced=0,fixed=6.5.8.13
  • shopware/platform (Packagist) ECOSYSTEM:introduced=0,fixed=6.5.8.13

Identifiers

  • CVE-2024-42356
  • GHSA-35jp-8cgg-p4wj

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.