package/libjxl: security bump to version 0.8.2
PATCH 1/1 package/libjxl: security bump to version 0.8.2
Fix CVE-2023-35790: An issue was discovered in dec_patch_dictionary.cc in libjxl before 0.8.2. An integer underflow in patch decoding can lead to a denial of service, such as an infinite loop.
https://github.com/libjxl/libjxl/releases/tag/v0.8.2
--- package/libjxl/libjxl.hash | 2 +- package/libjxl/libjxl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/libjxl/libjxl.hash +1 -1
@@ -1,4 +1,4 @@ # Locally computed: -sha256 60f43921ad3209c9e180563025eda0c0f9b1afac51a2927b9ff59fff3950dc56 libjxl-0.8.1.tar.gz +sha256 c70916fb3ed43784eb840f82f05d390053a558e2da106e40863919238fa7b420 libjxl-0.8.2.tar.gz sha256 8405932022a556380c2d8c272eff154a923feb197233f348ce5f7334fb0a5ede LICENSE sha256 91915f8ae056a68a3c5bdf05d9f6f78bb6903e27a8ca3a8434c9e4ac87300575 PATENTS
package/libjxl/libjxl.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBJXL_VERSION = 0.8.1 +LIBJXL_VERSION = 0.8.2 LIBJXL_SITE = $(call github,libjxl,libjxl,v$(LIBJXL_VERSION)) LIBJXL_LICENSE = BSD-3-Clause LIBJXL_LICENSE_FILES = LICENSE PATENTS
Signature · 6 lines
2.40.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Fabrice,
I tested this patch on branch master at commit 3557a7b with commands:
support/testing/run-tests \
-d dl -o output_folder \
tests.package.test_libjxl
...
OKWhile trying with:
utils/test-pkg -a -p libjxl
...
bootlin-riscv32-glibc [17/45]: FAILED
bootlin-riscv64-glibc [18/45]: FAILED
bootlin-riscv64-musl [19/45]: FAILED
...
45 builds, 11 skipped, 3 build failed, 0 legal-info failed, 0 show-info failed
I had those 3 build failures. They were introduced by v0.8.1 and are unrelated to this patch. I proposed a fix at:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
and also made sure this fix works for both v0.8.1 and v0.8.2 proposed in this patch.
Quoted 7 lines · Fabrice Fontaine
Fix CVE-2023-35790: An issue was discovered in dec_patch_dictionary.cc in libjxl before 0.8.2. An integer underflow in patch decoding can lead to a denial of service, such as an infinite loop.
https://github.com/libjxl/libjxl/releases/tag/v0.8.2
Signed-off-by Fabrice Fontaine <[email protected]>
Quoted 32 lines
--- package/libjxl/libjxl.hash | 2 +- package/libjxl/libjxl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/libjxl/libjxl.hash +0
-1@@ -1,4 +1,4 @@ # Locally computed: -sha256
60f43921ad3209c9e180563025eda0c0f9b1afac51a2927b9ff59fff3950dc56libjxl-0.8.1.tar.gz +sha256c70916fb3ed43784eb840f82f05d390053a558e2da106e40863919238fa7b420libjxl-0.8.2.tar.gz
sha2568405932022a556380c2d8c272eff154a923feb197233f348ce5f7334fb0a5edeLICENSE
sha25691915f8ae056a68a3c5bdf05d9f6f78bb6903e27a8ca3a8434c9e4ac87300575PATENTSpackage/libjxl/libjxl.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -LIBJXL_VERSION = 0.8.1 +LIBJXL_VERSION = 0.8.2 LIBJXL_SITE = $(call github,libjxl,libjxl,v$(LIBJXL_VERSION)) LIBJXL_LICENSE = BSD-3-Clause
Quoted 1 line
LIBJXL_LICENSE_FILES= LICENSE PATENTS
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Julien, All,
On 2023-09-15 21:30 +0200, Julien Olivain spake thusly:
Quoted 20 lines
Hi Fabrice,
I tested this patch on branch master at commit 3557a7b with commands:
support/testing/run-tests \ -d dl -o output_folder \ tests.package.test_libjxl ... OKWhile trying with:
utils/test-pkg -a -p libjxl ... bootlin-riscv32-glibc [17/45]: FAILED bootlin-riscv64-glibc [18/45]: FAILED bootlin-riscv64-musl [19/45]: FAILED ... 45 builds, 11 skipped, 3 build failed, 0 legal-info failed, 0 show-info
Quoted 8 lines
failed
I had those 3 build failures. They were introduced by v0.8.1 and are unrelated to this patch. I proposed a fix at:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/and also made sure this fix works for both v0.8.1 and v0.8.2 proposed in this patch.
Thank you! I applied your patch already!
Regards,
Yann E. MORIN.
Quoted 52 lines · Fabrice Fontaine
Quoted 7 lines
Fix CVE-2023-35790: An issue was discovered in dec_patch_dictionary.cc in libjxl before 0.8.2. An integer underflow in patch decoding can lead to a denial of service, such as an infinite loop.
https://github.com/libjxl/libjxl/releases/tag/v0.8.2
Signed-off-by Fabrice Fontaine <[email protected]>Reviewed-by Julien Olivain <[email protected]>Tested-by Julien Olivain <[email protected]>Quoted 30 lines
---
package/libjxl/libjxl.hash | 2 +-package/libjxl/libjxl.mk| 2 +-2 files changed, 2 insertions(+), 2 deletions(-)package/libjxl/libjxl.hash +0
-1@@ -1,4 +1,4 @@ # Locally computed: -sha256 60f43921ad3209c9e180563025eda0c0f9b1afac51a2927b9ff59fff3950dc56libjxl-0.8.1.tar.gz
+sha256c70916fb3ed43784eb840f82f05d390053a558e2da106e40863919238fa7b420libjxl-0.8.2.tar.gz
sha2568405932022a556380c2d8c272eff154a923feb197233f348ce5f7334fb0a5edeLICENSE
sha25691915f8ae056a68a3c5bdf05d9f6f78bb6903e27a8ca3a8434c9e4ac87300575PATENTSpackage/libjxl/libjxl.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -LIBJXL_VERSION = 0.8.1 +LIBJXL_VERSION = 0.8.2 LIBJXL_SITE = $(call github,libjxl,libjxl,v$(LIBJXL_VERSION))Quoted 2 lines
LIBJXL_LICENSE= BSD-3-ClauseLIBJXL_LICENSE_FILES= LICENSE PATENTSBest regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedFabrice, All,
On 2023-09-14 23:56 +0200, Fabrice Fontaine spake thusly:
Quoted 7 lines
Fix CVE-2023-35790: An issue was discovered in dec_patch_dictionary.cc in libjxl before 0.8.2. An integer underflow in patch decoding can lead to a denial of service, such as an infinite loop.
https://github.com/libjxl/libjxl/releases/tag/v0.8.2
Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 35 lines
--- package/libjxl/libjxl.hash | 2 +- package/libjxl/libjxl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/libjxl/libjxl.hash +1
-1@@ -1,4 +1,4 @@ # Locally computed: -sha256 60f43921ad3209c9e180563025eda0c0f9b1afac51a2927b9ff59fff3950dc56 libjxl-0.8.1.tar.gz +sha256 c70916fb3ed43784eb840f82f05d390053a558e2da106e40863919238fa7b420 libjxl-0.8.2.tar.gz sha256 8405932022a556380c2d8c272eff154a923feb197233f348ce5f7334fb0a5ede LICENSE sha256 91915f8ae056a68a3c5bdf05d9f6f78bb6903e27a8ca3a8434c9e4ac87300575 PATENTSpackage/libjxl/libjxl.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -LIBJXL_VERSION = 0.8.1 +LIBJXL_VERSION = 0.8.2 LIBJXL_SITE = $(call github,libjxl,libjxl,v$(LIBJXL_VERSION)) LIBJXL_LICENSE = BSD-3-Clause LIBJXL_LICENSE_FILES = LICENSE PATENTSSignature · 6 lines
2.40.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fix CVE-2023-35790: An issue was discovered in dec_patch_dictionary.cc in libjxl before 0.8.2. An integer underflow in patch decoding can lead to a denial of service, such as an infinite loop.
https://github.com/libjxl/libjxl/releases/tag/v0.8.2
Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot