critical9.8
CVE-2022-39365
RCE vulnerability in Pimcore/Mail & Dynamic Text Layout
Impact
### Impact The user controlled twig templates rendering in `Pimcore/Mail` & `ClassDefinition\Layout\Text` is vulnerable to server-side template Injection RCE. ### Patches Update to version 10.5.9 or apply this patch manually https://github.com/pimcore/pimcore/pull/13347.patch ### Workarounds Apply https://github.com/pimcore/pimcore/pull/13347.patch manually. ### References Credits: @nth347 from Viettel Cyber Security
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | pimcore/pimcore | < 10.5.9 | 10.5.9 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pimcore | Pimcore | before 10.5.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372
- https://github.com/pimcore/pimcore/pull/13347
- https://github.com/pimcore/pimcore/pull/13347.patch
- https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m
- https://github.com/advisories/GHSA-5qxq-vgmm-q39m
- https://nvd.nist.gov/vuln/detail/CVE-2022-39365