MediumGHSA-gjq4-69wj-p6prCVE-2022-0665

Path traversal in pimcore

Published 23 Feb 2022 · Updated 8 Nov 2023

Affected package

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

Details

The application doesn't perform a check/filter against the value of "importFile" parameter at endpoint "/admin/translation/import". After the API is executed, PHP unlink function will proceed to delete the file.

Is GHSA-gjq4-69wj-p6pr 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.