CVE-2021-32740

Summary

CVECVE-2021-32740
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-07-06 15:15:00 UTC
Updated2023-11-07 03:35:00 UTC
DescriptionAddressable 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.

Risk And Classification

Problem Types: CWE-400

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Addressable Project Addressable All All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All

References

ReferenceSourceLinkTags
[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

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)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report