Live threats

All CVEs / Addressable Project

CVE-2021-32740Addressable Project Addressable

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.1%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Jul 6, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Addressable.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems addressable ≥ 2.3.0 < 2.8.0 2.8.0 gem "addressable", ">= 2.8.0"

Per OSV / GitHub Advisories (GHSA-jxhc-q857-3j6g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
addressable_projectaddressable≥ 2.3.0 < 2.8.0
fedoraprojectfedora33
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.