Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-2017

published high CVSS 3.1 · 8.8

Improper Control of Generation of Code in Twig Rendered Views in Shopware

Published
17 Apr 2023, 10:18:27 UTC
Updated
05 Feb 2025, 20:46:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Shopware AG — Shopware 60 through 6.4.20.0 · 6.5.0.0-rc1 through 6.5.0.0-rc4 · Other versions: unaffected Affected Not stated STAR_Labs

Description

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.

en · STAR_Labs · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
STAR_Labs · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Shopware AG Shopware 6 0 through 6.4.20.0 (affected · semver)6.5.0.0-rc1 through 6.5.0.0-rc4 (affected · semver)Default: unaffected STAR_Labs · cna

Weaknesses

2
  • CWE-184 CWE-184 Incomplete List of Disallowed Inputs (STAR_Labs · cna)
  • CWE-1336 CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine (STAR_Labs · cna)

References

3

Provider assertions

3

STAR_Labs · cna

Improper Control of Generation of Code in Twig Rendered Views in Shopware

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
ea6678a6c260e57d7804bf8af07ac6f96c2a507ecf70e8de9425567ee735e0f8
Ingested
23 Sep 2026, 08:08:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected