Bug 32548 - gimp new security issues CVE-2023-4444[1-4]
Summary: gimp new security issues CVE-2023-4444[1-4]
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 9
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact: Sec team
URL:
Whiteboard: MGA8TOO, MGA9-64-OK MGA8-64-OK MGA8-3...
Keywords: advisory, validated_update
: 32630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-21 10:49 CET by Nicolas Salguero
Modified: 2023-12-20 18:02 CET (History)
11 users (show)

See Also:
Source RPM: gimp-2.10.32-1.mga8.src.rpm,gegl-0.4.36-1.mga8.src.rpm ,gimp-2.10.34-1.mga9.src.rpm
CVE: CVE-2023-44441, CVE-2023-44442, CVE-2023-44443, CVE-2023-44444
Status comment:


Attachments
Diff from current mageia 9 spec (365 bytes, patch)
2023-12-13 22:51 CET, katnatek
Details | Diff

Description Nicolas Salguero 2023-11-21 10:49:20 CET
Those CVEs were announced here:
https://www.openwall.com/lists/oss-security/2023/11/20/3

Mageia 8 is also affected.
Nicolas Salguero 2023-11-21 10:49:51 CET

Whiteboard: (none) => MGA8TOO
CC: (none) => nicolas.salguero
Source RPM: (none) => gimp-2.10.34-1.mga9.src.rpm
Status comment: (none) => Fixed upstream in 2.10.36

Comment 1 Lewis Smith 2023-11-21 21:51:04 CET
Thanks to Stig, we already have v2.10.36 in Cauldron.
Is it OK to ask you to do the Mageia 8 & 9 bits? Transfer it if not.
Advisory will be required.

Assignee: bugsquad => smelror

Comment 2 Stig-Ørjan Smelror 2023-12-11 16:39:11 CET
I've pushed GIMP 2.10.36 and gegl 0.4.38 to MGA8. Just haven't gotten around to creating the advisory yet.
Will do it now.
Comment 3 Stig-Ørjan Smelror 2023-12-12 10:40:25 CET Comment hidden (obsolete)

Assignee: smelror => qa-bugs
Whiteboard: MGA8TOO => (none)

Comment 4 Nicolas Salguero 2023-12-12 11:04:46 CET
Hi,

It seems that you did not update gimp to 2.10.36 for Mageia 9, only for Mageia 8.

Best regards,

Nico.
Nicolas Salguero 2023-12-12 11:58:51 CET

Whiteboard: (none) => MGA8TOO
Keywords: (none) => feedback

katnatek 2023-12-12 21:20:00 CET

CC: (none) => smelror

Comment 5 katnatek 2023-12-12 21:21:09 CET
(In reply to Nicolas Salguero from comment #4)
> Hi,
> 
> It seems that you did not update gimp to 2.10.36 for Mageia 9, only for
> Mageia 8.
> 
> Best regards,
> 
> Nico.

@stig did you forget to upload mageia 9 packages ?
Comment 6 katnatek 2023-12-13 00:04:45 CET
Tested on VM Mageia 8 i586

Packages updates from current version without isssue
Not have anything that need lib64gegl-gir0.4-0.4.38-1.mga8, I install by hand without issue
Open the program, take a screenshot, very basic use without issues

Not sure if I can test mypaint that requires lib64gegl-gir0.4-0.4.38-1.mga8 because
"MyPaint is a pressure- and tilt-sensitive painting program which works
well with Wacom graphics tablets and other similar devices." and I don't have such devices
Comment 7 katnatek 2023-12-13 00:26:23 CET
(In reply to katnatek from comment #6)
> Tested on VM Mageia 8 i586
> 
> Packages updates from current version without isssue
> Not have anything that need lib64gegl-gir0.4-0.4.38-1.mga8, I install by
> hand without issue
> Open the program, take a screenshot, very basic use without issues
> 
> Not sure if I can test mypaint that requires lib64gegl-gir0.4-0.4.38-1.mga8
> because
> "MyPaint is a pressure- and tilt-sensitive painting program which works
> well with Wacom graphics tablets and other similar devices." and I don't
> have such devices

lib64gegl -> libgegl
Comment 8 PC LX 2023-12-13 12:19:21 CET
Installed and tested without issues.

Used GIMP to test GEGL. My normal (basic) GIMP usage did not show any issues. Checked the various GEGL operations and played with the fractal generator for a bit. No issues that I have noticed. This update gets an OK from me.


System: Mageia 8, x86_64, Plasma DE, AMD Ryzen 5 5600G with Radeon Graphics using amdgpu driver.


# uname -a
Linux jupiter 6.1.45-desktop-1.mga8 #1 SMP PREEMPT_DYNAMIC Fri Aug 11 22:01:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
# rpm -qa | grep -E gegl.*0.4.38 | sort
gegl-0.4.38-1.mga8
lib64gegl0.4_0-0.4.38-1.mga8
lib64gegl-devel-0.4.38-1.mga8
lib64gegl-gir0.4-0.4.38-1.mga8
# lspci | grep VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400 / 6500 XT] (rev c1)
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c9)

CC: (none) => mageia

Comment 9 Stig-Ørjan Smelror 2023-12-13 13:01:25 CET
(In reply to katnatek from comment #5)
> (In reply to Nicolas Salguero from comment #4)
> > Hi,
> > 
> > It seems that you did not update gimp to 2.10.36 for Mageia 9, only for
> > Mageia 8.
> > 
> > Best regards,
> > 
> > Nico.
> 
> @stig did you forget to upload mageia 9 packages ?

No, I didn't forget.

However, if you want to do the update and the advisory, I will push the package to the build system. This is a great exercise for you :-)
Comment 10 Thomas Andrews 2023-12-13 14:39:51 CET
MGA8-64 Plasma on an HP Pavilion 15. No installation issues.

It was obvious from the start that I had never run The Gimp from this install before. The first thing I had to do was change the interface from the ugly default to one more to my liking - maximized, system theme, color icons. I suppose just doing that made for a good first test.

I haven't used Gimp for this kind of photo manipulation for quite a while, so I decided to have some fun. I loaded an old photo of a hot air balloon I once crewed for, and did some playing with the special effects. All the ones I tried seemed to work, and just as importantly, could be undone easily.

This one looks good to me. Waiting for the MGA9 version before going further...

CC: (none) => andrewsfarm

Comment 11 katnatek 2023-12-13 22:51:04 CET
Created attachment 14213 [details]
Diff from current mageia 9 spec

(In reply to Stig-Ørjan Smelror from comment #9)
> No, I didn't forget.
> 
> However, if you want to do the update and the advisory, I will push the
> package to the build system. This is a great exercise for you :-)

I can't upload packages yet, here are the changes from the current spec in mageia 9
the gegl components in mageia 9 are more recent than mageia 8 so is not necessary update

I build in copr, the build works and the packages works
katnatek 2023-12-13 22:52:23 CET

CC: (none) => ngompa13

Comment 12 Stig-Ørjan Smelror 2023-12-13 23:12:14 CET
(In reply to katnatek from comment #11)
> Created attachment 14213 [details]
> Diff from current mageia 9 spec
> 
> (In reply to Stig-Ørjan Smelror from comment #9)
> > No, I didn't forget.
> > 
> > However, if you want to do the update and the advisory, I will push the
> > package to the build system. This is a great exercise for you :-)
> 
> I can't upload packages yet, here are the changes from the current spec in
> mageia 9
> the gegl components in mageia 9 are more recent than mageia 8 so is not
> necessary update
> 
> I build in copr, the build works and the packages works

When the build has completed, please create an advisory. You can base it on the one I created earlier in this report.
Comment 13 katnatek 2023-12-14 02:00:50 CET Comment hidden (obsolete)
katnatek 2023-12-14 02:01:43 CET

Status comment: Fixed upstream in 2.10.36 => Updated advisory & packages in comment#13

katnatek 2023-12-14 02:01:57 CET

Keywords: feedback => (none)

Comment 14 katnatek 2023-12-14 02:03:36 CET
Advisory
========
GIMP has been updated to version 2.10.36 to fix several security issues.

CVE-2023-44441: GIMP DDS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
CVE-2023-44442: GIMP PSD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
CVE-2023-44443: GIMP PSP File Parsing Integer Overflow Remote Code Execution Vulnerability
CVE-2023-44444: GIMP PSP File Parsing Off-By-One Remote Code Execution Vulnerability

References
==========
https://www.openwall.com/lists/oss-security/2023/11/20/3

Files
=====

Uploaded to 8/core/updates_testing

gegl-0.4.38-1.mga8
lib(64)gegl0.4_0-0.4.38-1.mga8
lib(64)gegl-devel-0.4.38-1.mga8
lib(64)gegl-gir0.4-0.4.38-1.mga8

from gegl-0.4.38-1.mga8.src.rpm

gimp-2.10.36-1.mga8
lib64gimp2.0_0-2.10.36-1.mga8
lib64gimp2.0-devel-2.10.36-1.mga8

from gimp-2.10.36-1.mga8.src.rpm

Uploaded to 9/core/updates_testing

gimp-2.10.36-1.mga9
lib(64)gimp2.0-devel-2.10.36-1.mga9
lib(64)gimp2.0_0-2.10.36-1.mga9

from gimp-2.10.36-1.mga9.src.rpm
katnatek 2023-12-14 02:03:49 CET

Status comment: Updated advisory & packages in comment#13 => Updated advisory & packages in comment#14

Comment 15 Herman Viaene 2023-12-14 12:49:47 CET
MGA9-64 MATE on HP-Pavillion
No installation issues.
Ref bug 3046 for test file.
gimp rejects this file without crashing: OK
Used one of my tif files to exercise selecting, pasting as ne file, color saturation, using different transformation tools, all work OK.

CC: (none) => herman.viaene
Whiteboard: MGA8TOO => MGA8TOO MGA9-64-OK

Marja Van Waes 2023-12-14 16:26:52 CET

CVE: (none) => CVE-2023-44441, CVE-2023-44442, CVE-2023-44443, CVE-2023-44444
CC: (none) => marja11

Comment 16 Marja Van Waes 2023-12-14 16:31:32 CET
Advisory from comment 14 added to SVN. Please remove the "advisory" keyword if it needs to be changed. It also helps when obsolete advisories are tagged as "obsolete"

Keywords: (none) => advisory

Comment 17 Thomas Andrews 2023-12-14 17:53:31 CET
Adding the MGA8 OK because of comment 8 and comment 10. Validating.

Whiteboard: MGA8TOO MGA9-64-OK => MGA8TOO, MGA9-64-OK MGA8-64-OK
Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

katnatek 2023-12-14 19:03:08 CET

Source RPM: gimp-2.10.34-1.mga9.src.rpm => gimp-2.10.32-1.mga8.src.rpm,gimp-2.10.34-1.mga9.src.rpm
Whiteboard: MGA8TOO, MGA9-64-OK MGA8-64-OK => MGA8TOO, MGA9-64-OK MGA8-64-OK MGA8-32-OK

katnatek 2023-12-14 19:05:01 CET

Source RPM: gimp-2.10.32-1.mga8.src.rpm,gimp-2.10.34-1.mga9.src.rpm => gimp-2.10.32-1.mga8.src.rpm,gegl-0.4.36-1.mga8.src.rpm ,gimp-2.10.34-1.mga9.src.rpm

Comment 18 Mageia Robot 2023-12-15 20:01:04 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2023-0346.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 19 Morgan Leijström 2023-12-16 14:26:33 CET
Gimp now stopped working on mga8 because of missed move of
gegl-0.4.38-1.mga8.x86_64.rpm

Status comment: Updated advisory & packages in comment#14 => One package left to move!
Resolution: FIXED => (none)
Priority: Normal => High
Assignee: qa-bugs => sysadmin-bugs
Status: RESOLVED => REOPENED
CC: (none) => fri
Severity: normal => major

Comment 20 Morgan Leijström 2023-12-16 14:26:44 CET
*** Bug 32630 has been marked as a duplicate of this bug. ***

CC: (none) => cptnrhd

Comment 21 Marja Van Waes 2023-12-16 16:34:28 CET
(In reply to Morgan Leijström from comment #19)
> Gimp now stopped working on mga8 because of missed move of
> gegl-0.4.38-1.mga8.x86_64.rpm

Sorry, my bad, I had missed that there were two SRPMs for Mageia 8.

The advisory has now been corrected.
Comment 22 Thomas Andrews 2023-12-17 16:45:17 CET
It looks like the MGA8 gegl rpms have not been moved from the testing repos yet.

A Usenet poster has a project that has now stalled because he can't run Gimp after the update.

Perhaps this needs more than an advisory revision to get this fixed. This is uncharted territory for me, and I don't know the best way to get this taken care of quickly.
Comment 23 Marja Van Waes 2023-12-17 18:21:21 CET
I asked neoclust again, but there are now maybe more people who can do this.
I should maybe have asked on dev ml, too
Comment 24 Marja Van Waes 2023-12-17 18:36:42 CET
(In reply to Marja Van Waes from comment #23)
> I asked neoclust again, but there are now maybe more people who can do this.
> I should maybe have asked on dev ml, too

On sysadmin ml, of course.

Done so, now.
Comment 25 katnatek 2023-12-19 02:54:23 CET
(In reply to Marja Van Waes from comment #24)
> (In reply to Marja Van Waes from comment #23)
> > I asked neoclust again, but there are now maybe more people who can do this.
> > I should maybe have asked on dev ml, too
> 
> On sysadmin ml, of course.
> 
> Done so, now.

I'm wonder if in these cases is not more fast to open a bug with advisory, validation and oks just for the missing package(s)
Comment 26 David Walser 2023-12-19 03:29:18 CET
That's not the right way to do it.  Whoever pushes the updates needs to pay attention to madb because the script is obviously not working right.
Comment 27 Morgan Leijström 2023-12-19 13:37:38 CET
In this case there was a mistake in the advisory. Comment 21.
Comment 28 David Walser 2023-12-19 16:43:46 CET
(In reply to Morgan Leijström from comment #27)
> In this case there was a mistake in the advisory. Comment 21.

Yes, but that was fixed in SVN according to Comment 21, so the missing package should be getting pushed.
Comment 29 Marja Van Waes 2023-12-19 19:10:28 CET
It did finally get pushed. Thanks to neoclust.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 30 Thierry Vignaud 2023-12-20 16:17:23 CET
BTW we should tighten gimp deps on gegl & babel in order to prevent that to happen

CC: (none) => thierry.vignaud

Comment 31 Morgan Leijström 2023-12-20 18:02:04 CET
(In reply to Thierry Vignaud from comment #30)
> BTW we should tighten gimp deps on gegl & babel in order to prevent that to
> happen

Make a bug for that, to remember?

Status comment: One package left to move! => (none)


Note You need to log in before you can comment on or make changes to this bug.