Bonum Certa Men Certa

Google Tricking Users Into Downloading WebP Images While WebP Format is Legally Hazardous and Also a Hazard for Computer Security

Reprinted with permission from Ryan Farmer.

Standards joke

(Credit: xkcd)



Google Tricking Users to Download WebP Images. WebP is Hazardous Legally and for Computer Security.



Some months back, Reddit handed me some WebP files, and I didn’t realize it at the time.



Months later, the problem has grown much worse and has apparently been spreading to other sites, due to caching servers.



This is worth mentioning since this week, Google’s WebP library had an emergency zero day vulnerability that enabled malicious code execution.



How serious was this emergency? Even Microsoft patched Edge on Windows 7.



This library is in Web browsers, photo manipulation tools, all sorts of things, and would not be contained even by the best sandbox, or even disabling active content in the Web browsers!



But wait, there’s more.



WebP is not widely used, and there are many articles like this one from LifeHacker which call WebP a pesky annoyance and show people how to convert them back to a legitimate image format.



WebP isn’t “better” enough in a compression efficacy sense to replace 1992 JPEG files. So almost everyone uses the 1992 JPEG standard to create image files.



They work everywhere, they’re fine. Why not?



Even though JPEG was finalized as a standard in 1992, and most of the patents went back to 1986, there were still patent lawsuits involving it in the courts, until 2013!



In just one example I found on Wikipedia, a patent troll claiming to have just one patent that JPEG infringed on extracted $104 million from nearly three dozen companies it shook down, before the patent was invalidated by victims who refused to pay and counter-sued, with the assistance of the JPEG Committee.



If the legal nightmare from software patents can go on for that long, and people who didn’t even invent the standard can sue you, why is WebM or AVIF (which is newer yet, and based off the AV1 video codec), “really safe” in the legal sense?



When you ask how Google or the “Alliance for Open Media” can guarantee that their redundant formats really are royalty-free, they just stop answering questions and disappear.



So now, thanks to Google and AOM, we have the proliferation of not just one, but two new formats that are not clearly “better” in the sense that anyone is using them willingly, and are dangerous in the legal and computer security sense of the word, and will be for decades.



Potentially, the patent lawsuits for AVIF will be finished in the 2040s, but by then, Google (if they’re still around) will have released at least five more pointless replacements for JPEG files.



Since Chrome will put it in and Google will deal with the lawsuits later, it will become a “standard” in the sense that everyone else with Web browsing software has to put it in to be compatible with Chrome and also risk being sued. Then everyone hosting the files on their Web site too.



Nothing has replaced JPEG for the same reason people still make new MP3 files.



Are they ideal? No.



But they were the first thing that were good enough to do the job, they’re legally safe, and the code has been around long enough to have been debugged and made predictable.



And they occupy a lot of mindshare.



Modern optimized JPEG encoders are quite good. It is, basically the image format of the Web and a lot of work has been put into giving people good encoders and working the bugs out of the decoders and making the decoders incredibly fast! On basically any hardware!



If I make a new JPEG using an optimized encoder on my laptop right now, you could open it on Windows 3.1. If you wanted to.



That’s an amazing amount of backward compatibility.



It’s in all software that handles images!



And, I don’t have to explain to mother what to do with one.



So what does Google do to force people to use it? They TRICK them!



When you use Chrome to download an image file, caching servers will send it a WebP because it’s faster and Chrome advertises compatibility with it.



Usually, these are transcoded from JPEGs that someone uploaded to the server, which is not a lossless process, into an even worse-looking WebM file that less software is compatible with.



I’ve caught Reddit doing this when I’m using a Chromium browser, but when I’m using SeaMonkey it sends me the JPEG. Firefox, it varies.



Probably the long term goal is that there will be so many of the damned things from people re-uploading the WebP that it will put pressure on anyone holding out on supporting the format.



Another possibility is that they don’t think you should be saving the images in the first place, so they’ll spit on you by handing you a degraded copy of the JPEG in some weird format.



It’s likely to happen with AVIF too. Google can’t make a standard because, apparently, they can’t even decide what covers their own use case.



The anti-trust case against Google should be looking at this.



Impressively, thanks to the fact that you could embed a WebP on Gemini as an object, if you could trick the user into displaying it, you could have Web-like vulnerability over Gemini thanks to Google’s stupid image format.



Codecs are very dangerous and having all of these codecs being added when they all basically do the same thing is making computing more hazardous.



Google has a long history of breaking the law and basically daring people to sue them.



It happened with their non-conformant Apache “Harmony” Java implementation, due to their rabid hatred of the GNU GPL (which is ironically now PROTECTING GOOGLE from further aggression from Oracle!)



They did it again with the original AAC encoder for Android. They paid a vendor to “steal” 3GPP source code and compile it, and FhG came knocking, which is why we have fdk-aac.



Google’s method of break the law and dare people to sue risks bringing modern computing down on top of us sometimes, like when Oracle sued and claimed APIs (in this case, Java), cold be copyrighted.



Well, say goodbye to almost anything you could write a computer program in if that argument flew. All so Google could use a bug-riddled and abandoned Apache “Java”.



And it’s happening all over again with video and image codecs.



There is, of course, another cost to having multiple codecs that do the same thing.



Bloat. Good old fashioned software bloat. Google has the resources to sit there and compile Chrome as many times as they want to. Compiling Chromium is beyond the capability of the average computer user at this point. There’s so much junk and garbage in there that the process takes forever and uses more memory than most computers even come with, ideally.



Just 10 years ago, you could compile most rendering engines on a laptop.



Today, Webkit is about the only one left where you can do it, or where it’s even all written in the same computer language.



Strangely, I recently wrote an article mocking IBM for claiming that compiling Webkit is hard.



They compile all the junk in Firefox and Chromium multiple times a day and nobody bats an eyelash.



Whether Google uses “open” media codecs or not doesn’t actually help you.



With Widevine and WEI, it’s clear that at some point even YouTube videos will be digitally encumbered. All of them. We face a future of the entire Web going “dark” and then it won’t really matter to the user what video “format” it’s in unless it’s “pirated”.



At some point, Web images might be like this too.



What did Mozilla get for selling us out? Is thirty pieces of silver still the going rate?



Netflix runs tests on codecs for the same reason Google does. It wants to keep its own bandwidth costs down, and nothing else. Since users don’t get a copy of anything they watch on Netflix, the format it is in on the server is wholly irrelevant.



Basically what these formats are promoted as, is a way for caching servers to spew files at you cheaply, and it hardly matters if the quality is good or not, or what the licensing of the codec is. How will a BSD license help you on the codec if it’s wrapped in DRM?



What does matter at the codec level, for you, is that when it comes through on your end, you now have dozens of times as many software vulnerabilities.



Not Google’s problem.

Recent Techrights' Posts

Microsoft-Connected Sites Trying to Shift Attention Away From Microsoft's Megebreach Only Days Before Important If Not Unprecedented Grilling by the US Government?
Why does the mainstream media not entertain the possibility a lot of these talking points are directed out of Redmond?
[Video] 'Late Stage Capitalism': Microsoft as an Elaborate Ponzi Scheme (Faking 'Demand' While Portraying the Fraud as an Act of Generosity and Demanding Bailouts)
Being able to express or explain the facts isn't easy because of the buzzwords
Microsoft ("a Dying Megacorporation that Does Not Create") and IBM: An Era of Dying Giants With Leadership Deficits and Corporate Bailouts (Subsidies From Taxpayers)
Microsoft seems to be resorting to lots of bribes and chasing of bailouts (i.e. money from taxpayers worldwide)
 
Links 18/05/2024: Deterioration of the Net, North Korean IT Workers in the US
Links for the day
Windows in Lebanon: Down to 12%?
latest from statCounter
Links 18/05/2024: Caledonia Emergency Powers, "UK Prosecutor's Office Went Too Far in the Assange Case"
Links for the day
US Patent and Trademark Office Sends Out a Warning to People Who Do Not Use Microsoft's Proprietary Formats
They're punishing people who wish to use open formats
Links 18/05/2024: Fury in Microsoft Over Studio Shutdowns, More Gaming Layoffs
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, May 17, 2024
IRC logs for Friday, May 17, 2024
Links 18/05/2024: KOReader, Benben v0.5.0 Progress Update, and More
Links for the day
[Meme] UEFI 'Secure' Boot Boiling Frog
UEFI 'Secure' Boot: You can just ignore it. You can just turn it off. You can hack on it as a workaround. Just use Windows dammit!
The Market Wants to Delete Windows and Install GNU/Linux, UEFI 'Secure' Boot Must Go!
To be very clear, this has nothing to do with security and those who insist that it is have absolutely no credentials
In the United States Of America the Estimated Share of Google Search Grew After Microsoft's Chatbot Hype (Which Coincided With Mass Layoffs at Bing)
Microsoft's chatbot hype started in late 2022
Techrights Will Categorically Object to Any Attempts to Deny Its Right to Publish Informative, Factual Material
we'll continue to publish about 20 pages per day while challenging censorship attempts
Links 17/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, More YouTube Censorship
Links for the day
YouTube Progresses to the Next Level
YouTube is a ticking time bomb
Journalists and Human Rights Groups Back Julian Assange Ahead of Monday's Likely Very Final Decision
From the past 24 hours...
[Meme] George Washington and the Bill of Rights
Centuries have passed since the days of George Washington, but the principles are still the same
Daniel Pocock: "I've Gone to Some Lengths to Demonstrate How Corporate Bad Actors Have Used Amateur-hour Codes of Conduct to Push Volunteers Into Modern Slavery"
"As David explains, the Codes of Conduct should work the other way around to regulate the poor behavior of corporations who have been far too close to the Debian Suicide Cluster."
Video of Richard Stallman's Talk From Four Weeks Ago
2-hour video of Richard Stallman speaking less than a month ago
statCounter Says Twitter/X Share in Russia Fell From 23% to 2.3% in 3 Years
it seems like YouTube gained a lot
Journalist Who Won Awards for His Coverage of the Julian Assange Ordeals Excluded and Denied Access to Final Hearing
One can speculate about the true reason/s
Richard Stallman's Talk, Scheduled for Two Days Ago, Was Not Canceled But Really Delayed
American in Paris
3 More Weeks for Daniel Pocock's Campaign to Win a Seat in European Parliament Elections
Friday 3 weeks from now is polling day
Microsoft Should Have Been Fined and Sanctioned Over UEFI 'Lockout' (Locking GNU/Linux Out of New PCs)
Why did that not happen?
Gemini Links 16/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, Cash Issues
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, May 16, 2024
IRC logs for Thursday, May 16, 2024
Ex-Red Hat CEO Paul Cormier Did Not Retire, He Just Left IBM/Red Hat a Month Ago (Ahead of Layoff Speculations)
Rather than retire he took a similar position at another company
Linux.com Made Its First 'Article' in Over and Month, It Was 10 Words in Total, and It's Not About Linux
play some 'webapp' and maybe get some digital 'certificate' for a meme like 'clown computing'
[Meme] Never Appease the Occupiers
Freedom requires truth. Free speech emancipates.
Thorny Issues, Violent Response
They say protests (or strikes) that do not disrupt anything are simply not effective. The same can be said about reporting.
GNU/Linux in Malaysia: From 0.2 Percent to 6+ Percent
That's like 30-fold increase in relative share
Liberty in Liberia? Windows Falls Below 10% and Below iOS
This is clearly a problem for Microsoft
Techrights Congratulates Raspberry Pi (With Caution and Reservations)
Raspberry Pi will "make or break" based on the decisions made in its boardroom
OSI Makes a Killing for Bill Gates and Microsoft (Plagiarism and GPL Violations Whitewashed and Openwashed)
meme and more
The FSF Ought to Protest Against UEFI 'Secure Boot' (Like It Used To)
libreplanet-discuss stuff
People Who Defend Richard Stallman's Right to Deliver Talks About His Work Are Subjected to Online Abuse and Censorship
Stallman video removed
GNU/Linux Grows in Denmark, But Much of That is ChromeOS, Which Means No Freedom
Google never designs operating systems with freedom in mind
Links 16/05/2024: Vehicles Lasting Fewer Years, Habitat Fragmentation Concerns
Links for the day
GNU/Linux Reaches 6.5% in Canada (Including ChromeOS), Based on statCounter
Not many news sites are left to cover this, let alone advocate for GNU/Linux
Links 16/05/2024: Orangutans as Political Props, VMware Calls Proprietary 'Free'
Links for the day
The Only Thing the So-called 'Hey Hi Revolution' Gave Microsoft is More Debt
Microsoft bailouts
TechTarget (and Computer Weekly et al): We Target 'Audiences' to Sell Your Products (Using Fake Articles and Surveillance)
It is a deeply rogue industry that's killing legitimate journalism by drowning out the signal (real journalism) with sponsored fodder
FUD Alert: 2024 is Not 2011 and Ebury is Not "Linux"
We've seen Microsofers (actual Microsoft employees) putting in a lot of effort to shift the heat to Linux
Links 15/05/2024: XBox Trouble, Slovakia PM Shot 5 Times
Links for the day
Windows in Times of Conflict
In pictures
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, May 15, 2024
IRC logs for Wednesday, May 15, 2024