Google quietly corrects beforehand submitted disclosure for important webp 0-day #Imaginations Hub

Google quietly corrects beforehand submitted disclosure for important webp 0-day #Imaginations Hub
Image source - Pexels.com


Enlarge / Malware Detected Warning Display screen with summary binary code 3d digital idea

Getty Pictures

Google has quietly resubmitted a disclosure of a important code-execution vulnerability affecting 1000’s of particular person apps and software program frameworks after its earlier submission left readers with the mistaken impression that the menace affected solely the Chrome browser.

The vulnerability originates within the libwebp code library, which Google created in 2010 for rendering photographs in webp, a then new format that resulted in recordsdata that have been as much as 26 p.c smaller as in comparison with PNG photographs. Libwebp is included into nearly each app, working system, or different code library that renders webp photographs, most notably the Electron framework utilized in Chrome and lots of different apps that run on each desktop and cellular gadgets.

Two weeks in the past, Google issued a safety advisory for what it stated was a heap buffer overflow in WebP in Chrome. Google’s formal description, tracked as CVE-2023-4863, scoped the affected vendor as “Google” and the software program affected as “Chrome,” despite the fact that any code that used libwebp was weak. Critics warned that Google’s failure to notice that 1000’s of different items of code have been additionally weak would lead to pointless delays in patching the vulnerability, which permits attackers to execute malicious code when customers do nothing greater than view a booby-trapped webp picture.

On Monday, Google submitted a brand new disclosure that’s tracked as CVE-2023-5129. The brand new entry appropriately lists libwebp because the affected vendor and affected software program. It additionally bumps up the severity score of the vulnerability, from 8.8 out of a potential 10 to 10.

The dearth of completeness within the first CVE Google assigned goes properly past being a mere tutorial failing. Greater than two weeks after the vulnerability got here to gentle, a bunch of software program stays unpatched. Probably the most obvious examples are Microsoft Groups and Visible Studio Code.

The vulnerability description in Google’s new submission offers significantly extra element. The outline within the outdated submission was:

Heap buffer overflow in WebP in Google Chrome previous to 116.0.5845.187 allowed a distant attacker to carry out an out of bounds reminiscence write through a crafted HTML web page. (Chromium safety severity: Crucial)

The brand new description is:

With a specifically crafted WebP lossless file, libwebp could write knowledge out of bounds to the heap. The ReadHuffmanCodes() perform allocates the HuffmanCode buffer with a measurement that comes from an array of precomputed sizes: kTableSize. The color_cache_bits worth defines which measurement to make use of. The kTableSize array solely takes under consideration sizes for 8-bit first-level desk lookups however not second-level desk lookups. libwebp permits codes which might be as much as 15-bit (MAX_ALLOWED_CODE_LENGTH). When BuildHuffmanTable() makes an attempt to fill the second-level tables it could write knowledge out-of-bounds. The OOB write to the undersized array occurs in ReplicateValue.

Whether or not it’s tracked as CVE-2023-4863 or CVE-2023-5129, the vulnerability within the libwebp is critical. Earlier than utilizing apps, customers ought to be certain that the variations of Electron they use are v22.3.24, v24.8.3, or v25.8.1.


Related articles

You may also be interested in