CVE-2021-32740 — Regular Expression Denial of Service in...
Regular Expression Denial of Service in Addressable templates
Summary
Advisory Timeline
- First published July 12, 2021 (1918 days ago).
- Last revised July 8, 2026 — 1822 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install addressable -v 2.8.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| addressable | rubygems | 2.3.2, 2.3.3, 2.3.4, 2.3.5 (+9 more) | 2.8.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1333
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/sporkmonger/addressable/security/advisories/GHSA-jxhc-q857-3j6gWEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32740ADVISORY
- https://github.com/sporkmonger/addressable/commit/0d8a3127e35886ce9284810a7f2438bff6b43cbcWEB
- https://github.com/sporkmonger/addressable/commit/89c76130ce255c601f642a018cb5fb5a80e679a7WEB
- https://github.com/sporkmonger/addressable/commit/92685096b1f7235ed8986c03ce30a24972eed848#diff-fb36d3dc67e6565ffde17e666a98697f48e76dac38fabf1bb9e97cdf3b583d76WEB
- https://github.com/advisories/GHSA-jxhc-q857-3j6gADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/CVE-2021-32740.ymlWEB
- https://github.com/sporkmonger/addressablePACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SDFQM2NHNAZ3NNUQZEJTYECYZYXV4UDSWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WYPVOOQU7UB277UUERJMCNQLRCXRCIQ5WEB
Frequently Asked Questions
- What is CVE-2021-32740?
- Regular Expression Denial of Service in Addressable templates This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2021-32740?
- CVE-2021-32740 affects addressable. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-32740 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2026-35611HIGH
Addressable has a Regular Expression Denial of Service in Addressable templates
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies