
CVE catalog
CVE-2021-32740
ruby-addressable: CVE-2021-32740
- Severity
- High · CVSS 7.5
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-addressable | sid | 2.9.0-1 | fixed |
| Debian | ruby-addressable | forky | 2.9.0-1 | fixed |
| Debian | ruby-addressable | trixie | 2.8.7-2 | fixed |
| Debian | ruby-addressable | bookworm | 2.8.1-1 | fixed |
| Ubuntu | ruby-addressable | pro | 2.5.2-1 | vulnerable |
| Ubuntu | ruby-addressable | pro | 2.7.0-1 | vulnerable |
| Ubuntu | ruby-addressable | pro | 2.7.0-1ubuntu0.1~esm1 | vulnerable |
| Suse | rubygem-addressable | openstack cloud crowbar 9 | 2.3.6-4.3.3 | fixed |
| Suse | rubygem-addressable | openstack cloud crowbar 8 | 2.3.6-3.3.3 | fixed |
| Opensuse | rubygem-http | tumbleweed | 5.1.0-1.1 | fixed |
| Opensuse | ruby3.2-rubygem-http | tumbleweed | 5.1.0-1.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-addressable | source | sid | 2.7.0-2 | not yet assigned | Not reported | [990791] |
| Debian | ruby-addressable | source | forky | 2.7.0-2 | not yet assigned | Not reported | [990791] |
| Debian | ruby-addressable | source | trixie | 2.7.0-2 | not yet assigned | Not reported | [990791] |
| Debian | ruby-addressable | source | bookworm | 2.7.0-2 | not yet assigned | Not reported | [990791] |
| Suse | rubygem-addressable | rpm | openstack cloud crowbar 9 | 2.3.6-4.3.3 | Not reported | SUSE-SU-2021:2927-1 | Not reported |
| Suse | rubygem-addressable | rpm | openstack cloud crowbar 8 | 2.3.6-3.3.3 | Not reported | SUSE-SU-2021:2928-1 | Not reported |
| Opensuse | rubygem-http | rpm | tumbleweed | 5.1.0-1.1 | Not reported | OPENSUSE-SU-2024:12247-1 | Not reported |
| Opensuse | ruby3.2-rubygem-http | rpm | tumbleweed | 5.1.0-1.4 | Not reported | OPENSUSE-SU-2024:13157-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-addressable]Fixed
Details (2)
2.8.1-1· all · bookwormFixed · Fixed:
2.7.0-2dsa · ruby-addressable · debian · bookworm; dsa · ruby-addressable · debian · 12
2.8.1-1· all · bookwormFixed · Fixed:
2.7.0-2dsa · ruby-addressable · debian · bookworm; dsa · ruby-addressable · debian · 12
[Debian 13 (Trixie)]
- [ruby-addressable]Fixed
Details (2)
2.8.7-2· all · trixieFixed · Fixed:
2.7.0-2dsa · ruby-addressable · debian · 13
2.8.7-2· all · trixieFixed · Fixed:
2.7.0-2dsa · ruby-addressable · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_2927-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-32740]
- [https://osv.dev/vulnerability/SUSE-SU-2021:2927-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:2928-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-32740]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12247-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13157-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-32740]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-32740.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0001.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]