Read the docs
TI-2021-12408 Aliases CVE-2021-32740GHSA-jxhc-q857-3j6g

Regular Expression Denial of Service in Addressable templates

Priority LOW 37CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 fixed, 6 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

Summary

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.

Why it matters now

EPSS 0.02139 82nd percentileScored 2026-11-07
Fix Partial addressable (RubyGems): 2.8.0Red Hat: 1 advisoryRed Hat: 2 fixed, 6 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
sporkmongeraddressable> 2.3.0, <= 2.7.0—No fix listedCNA
—addressable (RubyGems)2.3.0 to before 2.8.02.8.0Patch availableGHSA-jxhc-q857-3j6g
  • addressable Vendorsporkmonger Affected > 2.3.0, <= 2.7.0 Fixed in — No fix listed CNA
  • addressable (RubyGems) Vendor— Affected 2.3.0 to before 2.8.0 Fixed in 2.8.0 Patch available GHSA-jxhc-q857-3j6g

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:addressable_project:addressable:*:*:*:*:*:ruby:*:*2.3.0 to before 2.8.0VulnerableAddressable Project
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
  • cpe:2.3:a:addressable_project:addressable:*:*:*:*:*:ruby:*:* Versions 2.3.0 to before 2.8.0 Vulnerable ·Addressable Project
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject

Remediation

  • Fix · GHSA-jxhc-q857-3j6g addressable (RubyGems) Fixed in 2.8.0 Advisory →

Red Hat 1 advisory

  • RHSA-2021:4702 Released 2021-11-16 · Red Hat rating Moderate
    Satellite 6.10 Release
    • Red Hat Satellite 6.10 candlepin-4.0.9-1.el7sat, foreman-2.5.2.17-2.el7sat, python-aiohttp-3.7.4-1.el7pc +14
    • Red Hat Satellite Capsule 6.10 foreman-2.5.2.17-2.el7sat, python-aiohttp-3.7.4-1.el7pc, python-ecdsa-0.13.3-2.el7pc +9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
CloudForms Management Engine 5AffectedNo fix planned: Will not fix
Red Hat 3scale API Management Platform 2AffectedNo fix yet
Red Hat OpenShift Container Platform 3.11AffectedNo fix planned: Out of support scope
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 13 (Queens) Operational ToolsAffectedNo fix planned: Out of support scope
Red Hat Single Sign-On 7AffectedNo fix planned: Will not fix
OpenShift Logging 5.2Fixed—
Red Hat Satellite 6.10Fixed RHSA-2021:4702
Not affected: 4 products
  • Logging Subsystem for Red Hat OpenShift
  • OpenShift Logging 5.2
  • Red Hat Satellite 6.10
  • Red Hat Satellite Capsule 6.10

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-32740
  2. 2026-10-03 Alias added: GHSA-jxhc-q857-3j6g

References

Sources