by omginternets · 3y ago · 0 comments
1. Are other Chrome-based browsers (e.g. Brave) affected by this?
2. Is desktop Chrome affected, or is this purely a mobile thing?
3. Why haven't I heard of WebP before? Am I living under a rock, or is this a mobile-first technology?
Chrome desktop was affected as well, both on Linux and Windows. Chrome bundles its own version of libwebp, so even if your Linux distribution hasn't patched yet, as long as Chrome is up-to-date you should be OK (in terms of browser attacks at least).
There's lots of wonderfully obscure image file formats that are supported by the major browsers and operating systems. For example you can load a KTX2 file (Khronos Texture Container) on MacOS, or a DNG file (Adobe Digital Negative) on Android. Lots of interesting and highly exposed attack surface for attackers to explore.
Not MacOS though?
Also for corporate users this is a pain as you have to update Safari via Software Update unlike browsers like Chrome which automatically update.
Safari:
https://support.apple.com/en-us/HT213930
MacOS:
https://support.apple.com/en-us/HT213906
The bug is in the codec library, and WebP has implementation monoculture, so everyone uses the same library, and everyone needs to patch.
3. Google tried to make WebP a thing 10 years ago, but it didn't get much traction, since it was Chrome-only for a long time. It never got properly standardized (it is open source tho). It compresses low-quality images better than JPEG, but tends to blur and smear colors in higher-quality images.
Ironically WebP became widely supported at the same time when it became technically obsoleted by AVIF and JPEG XL.
Aha! Finally the day has come when KDE's Dolphin emerges as the most secure file manager, in a "this sign can't stop me because I can't read" fashion.
All the proprietary software with their own bundled versions of electron or vendored libraries, etc. on the other hand...
That and every snap/flatpack/etc. package, every container image you are using and possibly pip packages that can come with and compile all kinds of dependencies and haven't been maintained for ten years...
The security benefit a well maintained Linux distro provides has been eroding for years now.
It is a libwebp vuln right? So anyone that does not link to libwebp is or may be ok.
Firefox very quickly implemented WebP when YouTube (a Google property) added support for animated WebP based hover thumbnails.
Firefox and Safari only caved years later once Chrome-only WebP-only websites were too common to ignore.
This support has always been overstated. Photoshop still doesn’t support it, you encounter other weirdness like Apple Preview.app can view them but not edit them.
Preview.app is the exception to the rule, but it still has acceptable UX. After you finish drawing the first brush stroke on a WebP file, it will ask you to reopen the edited file as a tiff before you continue editing. No loss of data or functionality
It's been supported in desktop chrome for a long while. There's dozens of JPEG replacements that have come and gone, and WebP is primarily notable for having Google's clout behind it. When Google bought Duck/On2 they got a lot of video compression technology, some of which went into WebP.
WebP is gaining popularity as replacement for JPEG, I'm surprised you haven't stumbled it on yet, cause more and more images I download from the web turn out to be WebP.
Fixed[1] in Firefox 117.0.1 as well as some ESR and Thunderbird versions.
[1]: https://www.mozilla.org/en-US/security/advisories/mfsa2023-4...