CVE catalog

CVE-2021-32740

ruby-addressable: CVE-2021-32740

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.14% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-addressablesid2.9.0-1fixed
Debianruby-addressableforky2.9.0-1fixed
Debianruby-addressabletrixie2.8.7-2fixed
Debianruby-addressablebookworm2.8.1-1fixed
Ubunturuby-addressablepro2.5.2-1vulnerable
Ubunturuby-addressablepro2.7.0-1vulnerable
Ubunturuby-addressablepro2.7.0-1ubuntu0.1~esm1vulnerable
Suserubygem-addressableopenstack cloud crowbar 92.3.6-4.3.3fixed
Suserubygem-addressableopenstack cloud crowbar 82.3.6-3.3.3fixed
Opensuserubygem-httptumbleweed5.1.0-1.1fixed
Opensuseruby3.2-rubygem-httptumbleweed5.1.0-1.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-addressablesourcesid2.7.0-2not yet assignedNot reported[990791]
Debianruby-addressablesourceforky2.7.0-2not yet assignedNot reported[990791]
Debianruby-addressablesourcetrixie2.7.0-2not yet assignedNot reported[990791]
Debianruby-addressablesourcebookworm2.7.0-2not yet assignedNot reported[990791]
Suserubygem-addressablerpmopenstack cloud crowbar 92.3.6-4.3.3Not reportedSUSE-SU-2021:2927-1Not reported
Suserubygem-addressablerpmopenstack cloud crowbar 82.3.6-3.3.3Not reportedSUSE-SU-2021:2928-1Not reported
Opensuserubygem-httprpmtumbleweed5.1.0-1.1Not reportedOPENSUSE-SU-2024:12247-1Not reported
Opensuseruby3.2-rubygem-httprpmtumbleweed5.1.0-1.4Not reportedOPENSUSE-SU-2024:13157-1Not reported

[Debian bug #990791]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.8.1-1 · all · bookworm

      Fixed · Fixed: 2.7.0-2

      dsa · ruby-addressable · debian · bookworm; dsa · ruby-addressable · debian · 12

    • 2.8.1-1 · all · bookworm

      Fixed · Fixed: 2.7.0-2

      dsa · ruby-addressable · debian · bookworm; dsa · ruby-addressable · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 2.8.7-2 · all · trixie

      Fixed · Fixed: 2.7.0-2

      dsa · ruby-addressable · debian · 13

    • 2.8.7-2 · all · trixie

      Fixed · Fixed: 2.7.0-2

      dsa · ruby-addressable · debian · 13

Observed:

References