Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting rmagick package, versions <5.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-RMAGICK-6039897
  • published 31 Oct 2023
  • disclosed 30 Oct 2023
  • credit Nick Browning

How to fix?

Upgrade rmagick to version 5.3.0 or higher.

Overview

rmagick is an an interface between Ruby and ImageMagick.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the DrawOptions_initialize function in rmdraw.c. An attacker can cause a denial of service by exhausting memory resources.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low
Expand this section

NVD

3.3 low