GitHub Advisoryadvisory · Packagist
GHSA-5qxq-vgmm-q39m RCE vulnerability in Pimcore/Mail & Dynamic Text Layout
CRITICAL
Official page ↗
- Aliases
- CVE-2022-39365
- Ecosystem
- Packagist
- Packages
- pimcore/pimcore
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2022-10-29
Affected packages
• Packagist pimcore/pimcore: < 10.5.9 → fixed in 10.5.9
Description
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
Related
Alias · CVE (1)
- CVE-2022-39365 Pimcore is an open source data and experience management platform. vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- 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