7.5

CVE-2021-32740: Regular Expression Denial of Service in Addressable templates

Modified
AliasesMGASA-2021-0417SUSE-SU-2021:2927-1SUSE-SU-2021:2928-1
Published 06-07-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32740 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in addressable_project addressable. EPSS estimates a 2.14% chance of exploitation in the next 30 days, higher than 82% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
2.14%
0%100%
Low · -0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 06-07-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. An uncontrolled resource consumption vulnerability exists after version 2.3.0 through version 2.7.0. Within the URI template implementation in Addressable, a maliciously crafted template may result in uncontrolled resource consumption, leading to denial of service when matched against a URI. In typical usage, templates would not normally be read from untrusted user input, but nonetheless, no previous security advisory for Addressable has cautioned against doing this. Users of the parsing capabilities in Addressable but not the URI template capabilities are unaffected. The vulnerability is patched in version 2.8.0. As a workaround, only create Template objects from trusted sources that have been validated not to produce catastrophic backtracking.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

2.14%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

Decrease -0.06 pp

From 2.20% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Opensuse2 products
  • ruby3.2-rubygem-http&distro=openSUSE Tumbleweed< 5.1.0-1.4
  • rubygem-http&distro=openSUSE Tumbleweed< 5.1.0-1.1
Suse2 products
  • rubygem-addressable&distro=SUSE OpenStack Cloud Crowbar 8< 2.3.6-3.3.3
  • rubygem-addressable&distro=SUSE OpenStack Cloud Crowbar 9< 2.3.6-4.3.3
Addressable_project1 product
Alpine1 product
  • ruby-addressable≥ 2.3.0, < 2.8.0-r0
Debian1 product
  • ruby-addressable< 2.7.0-2
Fedoraproject1 product
Mageia1 product
  • ruby-addressable< 2.7.0-1.1.mga8
RubyGems1 product
  • addressable≥ 2.3.0, < 2.8.0
Sporkmonger1 product
Ubuntu1 product
  • ruby-addressableAll versions (No fix recorded)

10 vendors · 12 products

References

24 links
Show all 24 references