Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libwebp v1.0.0 存在CVE-2023-4863漏洞 #2746

Open
LjzJohn opened this issue Sep 21, 2023 · 7 comments
Open

Libwebp v1.0.0 存在CVE-2023-4863漏洞 #2746

LjzJohn opened this issue Sep 21, 2023 · 7 comments

Comments

@LjzJohn
Copy link

LjzJohn commented Sep 21, 2023

近期谷歌披露了WebP组件的高危漏洞CVE-2023-4863
由于该组件存在边界错误,远程攻击者可以通过精心构造的webp图片,触发基于堆的缓冲区溢出并在目标系统上执行任意代码
https://stackdiary.com/critical-vulnerability-in-webp-codec-cve-2023-4863/

@LjzJohn
Copy link
Author

LjzJohn commented Sep 21, 2023

[Log - HEAD - webm/libwebp - Git at Google (googlesource.com)
](https://chromium.googlesource.com/webm/libwebp/+log)
可以从libwebp的commit log看出来,在1.3.2前修复了这个问题

@ThisIsJieZhang
Copy link

[Log - HEAD - webm/libwebp - Git at Google (googlesource.com) ](https://chromium.googlesource.com/webm/libwebp/+log) 可以从libwebp的commit log看出来,在1.3.2前修复了这个问题

fresco4.2以上版本是走系统的解码,源码里面依赖的libwep只是针对4.2以下版本才有用的

@lucidreamiss
Copy link

[Log - HEAD - webm/libwebp - Git at Google (googlesource.com) ](https://chromium.googlesource.com/webm/libwebp/+log) 可以从libwebp的commit log看出来,在1.3.2前修复了这个问题

fresco4.2以上版本是走系统的解码,源码里面依赖的libwep只是针对4.2以下版本才有用的

这是在哪做的判断呀,源码里么

@linsui
Copy link

linsui commented Sep 27, 2023

Build.VERSION.SDK_INT <= Build.VERSION_CODES.JELLY_BEAN_MR1;

@linsui
Copy link

linsui commented Sep 27, 2023

I hope that fresco can update libwebp to 1.3.2 and force using it on all Android versions. Only the latest few Android versions will get the fix. Relying on the system webp support means exposing the users to attack.

@dengkeng
Copy link

dengkeng commented Oct 6, 2023

https://blog.isosceles.com/the-webp-0day/ 里面描述的触发调用堆栈入口为WebPDecode,根据WebpSupportStatus.java里面的判断,只针对nativeDecodeStream与nativeDecodeByteArray这2个函数,那么WebPFrame_nativeRenderFrame是否也可能受到影响,因为WebPFrame_nativeRenderFrame也会调用到WebPDecode,该接口是否也有可能受到该漏洞的影响?

@oprisnik
Copy link
Contributor

Please use Fresco version 3.1.3+ which has a newer version of libwebp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants