CVE-2021-32740
CVE-2021-32740 — Regular Expression Denial of Service in Addressable templates
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
2%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-400
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1499Endpoint Denial of Service
References
4 on the record
- github.com/sporkmonger/addressable/security/advisories/GHSA-jxhc-q857-3j6g
x_refsource_CONFIRM
- github.com/sporkmonger/addressable/commit/0d8a3127e35886ce9284810a7f2438bff6b43cbc
x_refsource_MISC
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYPVOOQU7UB277UUERJMCNQLRCXRCIQ5/
vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SDFQM2NHNAZ3NNUQZEJTYECYZYXV4UDS/
vendor-advisory, x_refsource_FEDORA
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-126348 Addressable display_uri can show misleading hosts with invalid Punycode A-labelsCVSS 4.3
- CVE-2021-44228 Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpointsCVSS 10.0 · CISA KEV
- CVE-2020-3569 Cisco IOS XR Software DVMRP Memory Exhaustion VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2020-3566 Cisco IOS XR Software DVMRP Memory Exhaustion VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2026-45498 Microsoft Defender Denial of Service VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-28318 SolarWinds Serv-U Unauthenticated Denial of Service VulnerabilityCVSS 7.5 · CISA KEV
Elsewhere on this site
- Sporkmongerevery CVE for this vendor
- CWE-400other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.