GHSA-7cw6-7h3h-v8pfhigh7.2
Shopware Has Improper Control of Generation of Code in Twig rendered views
The advisory, in context
Impact
We fixed with CVE-2023-2017 Twig filters to only be executed with allowed functions. However there was a regression that lead to an array and array crafted PHP Closure not checked being against allow list for the map(...) override
Patches
Patched in 6.7.6.1
Workarounds
Install the security plugin
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
shopware/shopware Packagist
Ecosystem versions
From 6.7.0.0 before 6.7.6.1
Fixed in 6.7.6.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "6.7.0.0"
},
{
"fixed": "6.7.6.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}shopware/core Packagist
Ecosystem versions
From 6.7.0.0 before 6.7.6.1
Fixed in 6.7.6.1
16 explicitly affected versions
v6.7.0.0, v6.7.0.1, v6.7.1.0, v6.7.1.1, v6.7.1.2, v6.7.2.0, v6.7.2.1, v6.7.2.2, v6.7.3.0, v6.7.3.1, v6.7.4.0, v6.7.4.1, v6.7.4.2, v6.7.5.0, v6.7.5.1, v6.7.6.0
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "6.7.0.0"
},
{
"fixed": "6.7.6.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v6.7.0.0",
"v6.7.0.1",
"v6.7.1.0",
"v6.7.1.1",
"v6.7.1.2",
"v6.7.2.0",
"v6.7.2.1",
"v6.7.2.2",
"v6.7.3.0",
"v6.7.3.1",
"v6.7.4.0",
"v6.7.4.1",
"v6.7.4.2",
"v6.7.5.0",
"v6.7.5.1",
"v6.7.6.0"
]
}