Re:7-Zip: From Uninitialized Memory to Remote Code Execution
by pfg on Thursday May 03, 2018 @04:31PM
(#16989645)
I don't know about 7-Zip specifically, but AV vendors use plenty of FOSS code. Here's some findings just from Google's P0 showing that Symantec[1], Bitdefender[2], Microsoft[3] and Avast[4] all use unrar in their products. It wouldn't be far-fetched to assume some might use 7-Zip for other archive formats.
[1]: https://bugs.chromium.org/p/project-zero/issues/detail?id=81...
[2]: https://bugs.chromium.org/p/project-zero/issues/detail?id=12...
[3]: https://bugs.chromium.org/p/project-zero/issues/detail?id=15...
[4]: https://bugs.chromium.org/p/project-zero/issues/detail?id=57...
Re:7-Zip: From Uninitialized Memory to Remote Code Execution
by uep on Thursday May 03, 2018 @05:10PM
(#16990004)
Maybe I'm just way overestimating how complex RAR archives are (I admit, I have not looked into this), but I think you're out of your mind if you think that someone could write a parser to analyze RAR archives in a day. That it would be better tested, debugged, and more secure than a tool that has probably seen more widespread use than any single AV.
The few places I've seen 7z used is in installers where the input is known (installer archive in 7z format) and I'm assuming signed in many cases so you can't feed it random inputs. I find it hard to believe Sophos and Symantec and Trend are copying and pasting 7zip.dll into their apps.