From https://bugs.gentoo.org/832007#c1: (In reply to John Helmert III from comment #1) > CVE-2022-1122 (https://github.com/uclouvain/openjpeg/issues/1368): > > 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.
The segfault patch fails with a nosuch file error,I'm not able to find the relevant section for the patch ????!!!!!
(In reply to Geoff Madden from comment #1) > The segfault patch fails with a nosuch file error,I'm not able to find the > relevant section for the patch ????!!!!! Could you provide the build.log? I suspect it's the same problem as https://bugs.gentoo.org/836996
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/data/glsa.git/commit/?id=3ffb060a535687205849990e329954275cbcd1f4 commit 3ffb060a535687205849990e329954275cbcd1f4 Author: GLSAMaker <glsamaker@gentoo.org> AuthorDate: 2022-09-07 02:52:41 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-09-07 02:58:07 +0000 [ GLSA 202209-04 ] OpenJPEG: Multiple Vulnerabilities Bug: https://bugs.gentoo.org/783513 Bug: https://bugs.gentoo.org/836969 Bug: https://bugs.gentoo.org/844064 Signed-off-by: GLSAMaker <glsamaker@gentoo.org> Signed-off-by: John Helmert III <ajak@gentoo.org> glsa-202209-04.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)
GLSA released, all done!