sirjuddington / SLADE

It's a Doom editor
https://slade.mancubus.net
GNU General Public License v2.0
686 stars 104 forks source link

[Urgent security issue] FreeImage arbitrary code execution vulnerability #1675

Open lavenderdotpet opened 2 months ago

lavenderdotpet commented 2 months ago

main 2 I think is the most important to point out

both of these can run arbitrary code one of them being from the BMP plugin so I am assuming a person could get a user to load a malicious BMP or a file with a malicious bpm inside of it

Free Image should either be forked and fixed asap or abandoned for a different library

active project i could find that use freeimage https://github.com/sirjuddington/SLADE https://github.com/TrenchBroom/TrenchBroom https://github.com/RetroPie/EmulationStation https://github.com/MonoGame/MonoGame https://github.com/meganz/MEGAsync https://github.com/OGRECave/ogre https://github.com/OGRECave/ogre-next https://github.com/Open-Cascade-SAS/OCCT https://github.com/arrayfire/forge https://git.sr.ht/~exec64/imv https://github.com/arrayfire/arrayfire

Free Image v3.18.0

Free Image before v1.18.0

Alexander-Wilms commented 2 months ago

For completeness' sake, in the Ogre issue, someone linked to https://github.com/agruzdev/FreeImageRe

https://github.com/OGRECave/ogre/issues/3069#issuecomment-2030300403

But it's not yet clear whether these issues have been fixed already in the fork.

Eonfge commented 2 months ago

I'll experiment with using FreeImageRe for the Flathub package: