CVE-2021-32740
Summary
| CVE | CVE-2021-32740 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-07-06 15:15:00 UTC |
| Updated | 2023-11-07 03:35:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] Fedora 34 Update: rubygem-addressable-2.7.0-5.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: rubygem-addressable-2.7.0-5.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 33 Update: rubygem-addressable-2.7.0-5.fc33 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 33 Update: rubygem-addressable-2.7.0-5.fc33 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Regular Expression Denial of Service in Addressable templates · Advisory · sporkmonger/addressable · GitHub |
CONFIRM |
github.com |
|
| Adding note about ReDoS vulnerability · sporkmonger/addressable@0d8a312 · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 180001 Debian Security Update for ruby-addressable (CVE-2021-32740)
- 239895 Red Hat Update for Satellite 6.10 (RHSA-2021:4702)
- 281866 Fedora Security Update for rubygem (FEDORA-2021-e9fc035565)
- 281867 Fedora Security Update for rubygem (FEDORA-2021-5d14763df8)
- 502182 Alpine Linux Security Update for ruby-addressable
- 900057 CBL-Mariner Linux Security Update for rubygem-addressable 2.7.0
- 900314 CBL-Mariner Linux Security Update for rubygem-addressable 2.7.0
- 902806 Common Base Linux Mariner (CBL-Mariner) Security Update for rubygem-addressable (4693)