CRITICAL9.8
GHSA-5qxq-vgmm-q39m
RCE vulnerability in Pimcore/Mail & Dynamic Text Layout
Quick fix
GHSA-5qxq-vgmm-q39m — pimcore/pimcore: upgrade to the fixed version with the command below.
composer require pimcore/pimcore:^10.5.9Details
### 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
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/pimcore/pimcore
Introduced in:
0Fixed in: 10.5.9Fix
composer require pimcore/pimcore:^10.5.9References
- https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-39365[ADVISORY]
- https://github.com/pimcore/pimcore/pull/13347[WEB]
- https://github.com/pimcore/pimcore/pull/13347.patch[WEB]
- https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372[WEB]
- https://github.com/pimcore/pimcore[PACKAGE]