CVE-2023-5349 json
Draw while calling getdrawinfo()
published 2023-10-30 3 y ago modified 2026-06-17 4 mo ago also GHSA-frgf-8jr5-j2jv , EUVD-2023-2732
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems rmagick 5.3.0
- rmagick rmagick 5.2.0
- ruby-rmagick Debian 14, Debian 13 5.3.0-1
debian advisories DEBIAN-CVE-2023-5349
- ruby-rmagick Ubuntu 20.04 LTS 2.16.0-6ubuntu0.1
- ruby-rmagick Ubuntu Pro 22.04 LTS 4.2.3-2ubuntu0.22.04.1~esm2
ubuntu advisories UBUNTU-CVE-2023-5349
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/rmagick/rmagick@02f37ca commit
- github.com/rmagick/rmagick@fec7a7e commit
- github.com/rmagick/rmagick#1406 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-5349 updated cvss 5.3
rubygem-rmagick: Memory leak by Magick::Draw while calling GetDrawInfo()
-
Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/rmagick/rmagick/issues/1401 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rmagick | <5.3.0 |
5.3.0 |
Affected products
- n/a rmagick
- Red Hat Red Hat 3scale API Management Platform 2
- Fedora Fedora
- rmagick rmagick
- fedoraproject fedora
Classification
References
-
github.com
/rmagick/rmagick/pull/1406
web, patch
-
github.com
/rmagick/rmagick/commit/02f37ca0d6c2b8fff316e0668efa690f5c90a429
web
-
github.com
/rmagick/rmagick/commit/fec7a7e639ae565386f7615155dbcf49b957b64a
web
-
github.com
/rmagick/rmagick/issues/1401
web, exploit, issue-tracking, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2023-5349
vdb-entry, web, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2247064
issue-tracking, web, third-party-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/S3XMQ2KWPYGT447EKPENGXXHKAQ5NUWF/
-
lists.debian.org
/debian-lts-announce/2023/10/msg00030.html
web
-
lists.debian.org
/debian-lts-announce/2026/01/msg00003.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-5349
advisory
-
github.com
/advisories/GHSA-frgf-8jr5-j2jv
advisory
-
github.com
/rmagick/rmagick
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rmagick/CVE-2023-5349.yml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/S3XMQ2KWPYGT447EKPENGXXHKAQ5NUWF
web
Sources
- CVE List CVE-2023-5349
- GitHub Advisory GHSA-frgf-8jr5-j2jv
- NVD CVE-2023-5349
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.