[Buildroot] [PATCH 1/1] package/openjpeg: security bump to version 2.5.0

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon May 30 20:55:58 UTC 2022


On Wed, 18 May 2022 23:20:15 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Fix CVE-2021-29338: Integer Overflow in OpenJPEG v2.4.0 allows remote
> attackers to crash the application, causing a Denial of Service (DoS).
> This occurs when the attacker uses the command line option "-ImgDir" on
> a directory that contains 1048576 files.
> 
> Fix CVE-2022-1122: A flaw was found in the opj2_decompress program in
> openjpeg2 2.4.0 in the way it handles an input directory with a large
> number of files. When it fails to allocate a buffer to store the
> filenames of the input directory, it calls free() on an uninitialized
> pointer, leading to a segmentation fault and a denial of service.
> 
> Drop patches (already in version)
> 
> https://github.com/uclouvain/openjpeg/blob/v2.5.0/NEWS.md
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...append-flags-found-by-pkg-config-if-.patch | 72 -------------------
>  ...-append-flags-found-by-pkg-config-if.patch | 49 -------------
>  ...Lists.txt-Don-t-require-a-C-compiler.patch | 34 ---------
>  ...IR-for-OPENJPEG_INCLUDE_DIRS-fixes-u.patch | 37 ----------
>  package/openjpeg/openjpeg.hash                |  2 +-
>  package/openjpeg/openjpeg.mk                  |  2 +-
>  6 files changed, 2 insertions(+), 194 deletions(-)
>  delete mode 100644 package/openjpeg/0001-thirdparty-tiff-append-flags-found-by-pkg-config-if-.patch
>  delete mode 100644 package/openjpeg/0002-thirdparty-lcms2-append-flags-found-by-pkg-config-if.patch
>  delete mode 100644 package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch
>  delete mode 100644 package/openjpeg/0004-Revert-Use-INC_DIR-for-OPENJPEG_INCLUDE_DIRS-fixes-u.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list