CVE-2023-5349

Publication date 30 October 2023

Last updated 15 August 2024


Ubuntu priority

Cvss 3 Severity Score

3.3 · Low

Score breakdown

A memory leak flaw was found in ruby-magick, an interface between Ruby and ImageMagick. This issue can lead to a denial of service (DOS) by memory exhaustion.

Read the notes from the security team

Status

Package Ubuntu Release Status
ruby-rmagick 24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic Ignored end of life, was needs-triage
23.04 lunar Ignored end of life, was needs-triage
22.04 LTS jammy
20.04 LTS focal
Fixed 2.16.0-6ubuntu0.1
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty Ignored end of standard support

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


sbeattie

the commit causes test failures in older releases, we may not be able to fix them without introducing regressions


juliaphoebe

9faa5601 AcquireDrawInfo() instead of magick_malloc()-ing some memory introduced memory leak in 2.16.0-6 by calling AcquireDrawInfo without removing the GetDrawInfo call in DrawOptions_initialize. AcquireDrawInfo internally calls GetDrawInfo. The double call to GetDrawInfo causes this leak. Bionic and Xenial are therefore unaffected.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ruby-rmagick

Severity score breakdown

Parameter Value
Base score 3.3 · Low
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact Low
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L