Ubuntu update for imagemagick



Published: 2023-03-15 | Updated: 2023-11-21
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-44267
CVE-2022-44268
CWE-ID CWE-399
CWE-200
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

libmagick++-6.q16-8 (Ubuntu package)
Operating systems & Components / Operating system package or component

imagemagick (Ubuntu package)
Operating systems & Components / Operating system package or component

libmagickcore-6.q16-6 (Ubuntu package)
Operating systems & Components / Operating system package or component

imagemagick-6.q16 (Ubuntu package)
Operating systems & Components / Operating system package or component

libmagickcore-6.q16-6-extra (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Resource management error

EUVDB-ID: #VU72079

Risk: Low

CVSSv3.1: 3.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-44267

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper management of internal resources when performing operations on crafted PNG images. A remote attacker can pass specially crafted PNG image to the application and force the application to wait indefinitely for the stdin input, consuming system resources.

Mitigation

Update the affected package imagemagick to the latest version.

Vulnerable software versions

Ubuntu: 20.04 - 22.10

libmagick++-6.q16-8 (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

imagemagick (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

libmagickcore-6.q16-6 (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

imagemagick-6.q16 (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

libmagickcore-6.q16-6-extra (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

External links

http://ubuntu.com/security/notices/USN-5855-2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Information disclosure

EUVDB-ID: #VU72078

Risk: Medium

CVSSv3.1: 5.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-44268

CWE-ID: CWE-200 - Information exposure

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to improper input validation when performing operations (e.g. resizing) on specially crafted PNG images. A remote attacker can pass a specially crafted image to the application and embed contents of other files on the system into the resulting image.

Mitigation

Update the affected package imagemagick to the latest version.

Vulnerable software versions

Ubuntu: 20.04 - 22.10

libmagick++-6.q16-8 (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

imagemagick (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

libmagickcore-6.q16-6 (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

imagemagick-6.q16 (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

libmagickcore-6.q16-6-extra (Ubuntu package): before 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.2

External links

http://ubuntu.com/security/notices/USN-5855-2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###