SCA: security update for shopware/core, shopware/platform (GHSA-7v2v-9rm4-7m8f)

high Tenable Self-Hosted Container Security Plugin ID 412260

Description

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

- Server-side Template Injection (SSTI) in Shopware 6 (<= v6.4.20.0, v6.5.0.0-rc1 <= v6.5.0.0-rc4),
affecting both shopware/core and shopware/platform GitHub repositories, allows remote attackers with
access to a Twig environment without the Sandbox extension to bypass the validation checks in
`Shopware\Core\Framework\Adapter\Twig\SecurityExtension` and call any arbitrary PHP function and thus
execute arbitrary code/commands via usage of fully-qualified names, supplied as array of strings, when
referencing callables. Users are advised to upgrade to v6.4.20.1 to resolve this issue. This is a bypass
of CVE-2023-22731. (CVE-2023-2017)

See Also

https://github.com/advisories/GHSA-7v2v-9rm4-7m8f

Plugin Details

Severity: High

ID: 412260

Version: Revision 1.8

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: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2023-2017

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/18/2023

Vulnerability Publication Date: 4/17/2023

Reference Information

CVE: CVE-2023-2017