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

CVE-2023-2804。libjpeg-turbo #2808

Open
aLittleGreens opened this issue Oct 29, 2024 · 2 comments
Open

CVE-2023-2804。libjpeg-turbo #2808

aLittleGreens opened this issue Oct 29, 2024 · 2 comments

Comments

@aLittleGreens
Copy link

There is a security vulnerability in libjpeg-turbo, which originates from the heap buffer overflow at /libjpeg-turbo/jdmrext.c:126 in h2v2_merged_upsample_internal().

@softavail
Copy link

I run into the same issue.
Bellow are the vulnerability details
https://www.cvedetails.com/cve/CVE-2023-2804

It is not very clear which version of libjpeg-turbo fixes this issue, but I guess it is 2.1.90

Bellow is a link with the fix
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/9f756bc67a84d4566bf74a0c2432aa55da404021

Latest fresco v3.4.0 depends on libjpeg-turbo 2.1.5.1
I suppose the fix is to make fresco library to depend from libjpeg-turbo where this vulnerability is fixed

Thank you!

@snijsure
Copy link

I have scratch PR that where I attempted to update Fresco to libjpeg-turbo to 2.1.91

Is the process to bump libjpeg-turbo documented somewhere?

yasm: FATAL: unable to open include file `jsimdext.inc'
make: *** [.../Library/Android/sdk/ndk/26.1.10909125/build/core/build-binary.mk:419: .../work/samples/fresco-fork/fresco/native-imagetranscoder/build/tmp/ndk_build_native-imagetranscoder/local/x86/objs/fb_jpegturbo/simd/i386/jcsample-sse2.o] Error 1

Somehow when compiling SIMD code for i386 yasm is not able to find include files.

@oprisnik @alanleedev is there someone specific I need to tag?

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

3 participants