HighGHSA-4x35-vr82-xvj6CVE-2023-2338

SQL Injection in AssetController

Published 27 Apr 2023 · Updated 16 Feb 2024

Affected package

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

Details

Impact

SQL injections in AssetController due to unsanitized concatenating strings in where clause. The attacker can dump database, alter data or perform dos on the backend database.

Patches

Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/21e35af721c375ef4676ed50835e30d828e76520.patch

Workarounds

Apply patch https://github.com/pimcore/pimcore/commit/21e35af721c375ef4676ed50835e30d828e76520.patch manually.

References

https://huntr.dev/bounties/bbf59fa7-cf5b-4945-81b0-328adc710462/

Is GHSA-4x35-vr82-xvj6 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.