| Package | Affected versions | Fixed in |
|---|---|---|
| shopware/core | 6.5.8.17 | 6.5.8.18 |
| shopware/platform | 6.5.8.17 | 6.5.8.18 |
This security issue https://github.com/shopware/shopware/security/advisories/GHSA-8g35-7rmw-7f59 is supposed to be fixed in 6.5.8.17 and in 6.4 with the security plugin.
Also it would be nice if the security plugin references the security issues on github it is upposed to fix.
It would also be nice if the security information references the commit that fixes the issue or the PR so it could e.g. be backported or checked in the code.
However, I do not see the change which I think fixes the isuse in the 6.5.8.17 code.
DetailsIn 6.6.10.3 the following change was made https://github.com/shopware/shopware/blob/v6.6.10.3/src/Core/Framework/DataAbstractionLayer/Dbal/EntityAggregator.php#L141
https://github.com/shopware/shopware/blob/v6.6.10.3/src/Core/Framework/DataAbstractionLayer/Dbal/EntityAggregator.php#L124
which adds validation to bucket aggregation names.
However, in 6.5.8.17 I do not see the necessary change it is still without the bucket aggregation check:
https://github.com/shopware/shopware/blob/v6.5.8.17/src/Core/Framework/DataAbstractionLayer/Dbal/EntityAggregator.php#L120
see previous security issue https://github.com/shopware/shopware/security/advisories/GHSA-8g35-7rmw-7f59
ImpactSame as for https://github.com/shopware/shopware/security/advisories/GHSA-8g35-7rmw-7f59