How can buffer overflows still be happening in this day and age?
Google assigns a CVE for libwebp and gives it a 10.0 score
21–30 of 235 posts
Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#22The point about Android is particularly important. I wouldn't like to estimate the proportion of Android phones that are in regular use that no longer receive security updates.
I’m surprised, given the history of exploits, Google didn’t decide to start shipping the image decoders as an APEX system component in the Play Store, with the built-in ones serving as a fallback. They just might now.
The image decoders are in android.graphics (https://developer.android.com/reference/android/graphics/pac... ) & that API subset is not listed in the Android Mainline system modules that are catalogued here: https://source.android.com/docs/core/ota/modular-system
It looks as if they planned to include image decoders, but that was dropped sometime during the Android 11 development cycle, unless I’ve missed something (which is certainly possible).
Edit: the final dev release announcement for Android 11 keeps the same paragraph about the native image decoder. So maybe it is there & I’m just not finding it? https://android-developers.googleblog.com/2020/09/android11-...
Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#23Additional timeline info, as I was curious myself. WebP is old enough that a memory safe language was not a feasible option when the project started. Android 12 was the first version to support Rust code, and came out in 2021 [0, link talks about the first year of integration]. On the iOS side (which also was affected by this), Swift 1.0 came out in ~2014. As far as I can tell, Chrome doesn't yet support a memory saf…
Is JavaScript a memory safe language?
Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#24"Oops"
Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#25Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#26Additional timeline info, as I was curious myself. WebP is old enough that a memory safe language was not a feasible option when the project started. Android 12 was the first version to support Rust code, and came out in 2021 [0, link talks about the first year of integration]. On the iOS side (which also was affected by this), Swift 1.0 came out in ~2014. As far as I can tell, Chrome doesn't yet support a memory saf…
Is JavaScript a memory safe language?
None of those are suitable options for an image decoding library on the range of WebP supported platforms.
Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#27The point about Android is particularly important. I wouldn't like to estimate the proportion of Android phones that are in regular use that no longer receive security updates.
Android phones don't have an awful lot of attack surface area for typical users though. Messenger apps already will refuse to display arbitrary images - Whatsapp for example will only display jpegs and mp4's sent from other contacts.
Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#28Android is particularly troublesome here with the number of phones out there receiving no updates, and just a single download away from being exploited. For me, personally, it's a race to see if Google can get this patched for my Pixel 5 before security updates stop in October.
Pixel 5 should still qualifiy for it.
Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#29Android is particularly troublesome here with the number of phones out there receiving no updates, and just a single download away from being exploited. For me, personally, it's a race to see if Google can get this patched for my Pixel 5 before security updates stop in October.
The security bulletin doesn't reference this CVE specifically but does mention a critical vulnerability that could lead to RCE.
Re: Google assigns a CVE for libwebp and gives it a 10.0 score
#30How can buffer overflows still be happening in this day and age?