CVE-2023-5349 Draw while calling getdrawinfo()
A memory leak in ruby-magick allows attackers to cause denial of service via memory exhaustion when calling getdrawinfo().
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-5349?
CVE-2023-5349 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 30 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-401
Which versions are affected by CVE-2023-5349?
2 open source packages ship an affected version, including rmagick. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
rmagick RubyGems | All versions | 5.3.0 |
rmagick RubyGems | All versions | 5.3.0 |
Products include Fedoraproject Fedora, Rmagick Rmagick.
How do I fix CVE-2023-5349?
Upgrade rmagick to 5.3.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-5349 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5349 exists.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2023-5349, DLA-3625-1, DLA-4433-1, GHSA-frgf-8jr5-j2jv, UBUNTU-CVE-2023-5349, USN-6960-1.