CVE-2023-2017
HIGH8.8EPSS 2.3%Shopware Has Improper Control of Generation of Code in Twig rendered views
發布日:2023/4/18修改日:2026/3/13
描述
### Impact We fixed with [CVE-2023-22731](https://github.com/shopware/platform/security/advisories/GHSA-93cw-f5jj-x85w) Twig filters to only be executed with allowed functions. It is possible to pass PHP Closures as string or an array and array crafted PHP Closures was not checked against allow list ### Patches The problem has been fixed with 6.4.20.1 with an improved override. ### Workarounds For older versions of 6.1, 6.2, and 6.3, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
受影響套件(2)
- Packagist/shopware/corefrom 0, < 6.4.20.1
- Packagist/shopware/platformfrom 0, < 6.4.20.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-2017
- PATCHhttps://github.com/shopware/platform
- WEBhttps://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023
- WEBhttps://github.com/shopware/platform/releases/tag/v6.4.20.1
- WEBhttps://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f
- WEBhttps://github.com/shopware/shopware/security/advisories/GHSA-7v2v-9rm4-7m8f
- WEBhttps://starlabs.sg/advisories/23/23-2017