CriticalGHSA-5qxq-vgmm-q39mCVE-2022-39365

RCE vulnerability in Pimcore/Mail & Dynamic Text Layout

Published 29 Oct 2022 · Updated 8 Nov 2023

Affected package

Affected
<10.5.9
Fixed in
10.5.9
Update to the fixed version for your release line, for example:composer require pimcore/pimcore:^10.5.9

Details

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

Is GHSA-5qxq-vgmm-q39m in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected pimcore/pimcore, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.