ADVISORIES

Vulnerability

CVE-2021-32740

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.

11 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • ALPINE-CVE-2021-32740

    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…

    CVE-2021-32740 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-32740
    CVE-2021-32740 Alpine Updated 18 November 2026
  • DEBIAN-CVE-2021-32740

    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…

    CVE-2021-32740 Debian Updated 23 October 2026
  • GHSA-jxhc-q857-3j6g

    Regular Expression Denial of Service in Addressable templates

    High CVE-2021-32740 RubyGems Updated 8 July 2026
  • OESA-2021-1278

    rubygem-addressable security update

    High CVE-2021-32740 openEuler Updated 18 August 2026
  • RHSA-2021:4702

    Red Hat Security Advisory: Satellite 6.10 Release

    CVE-2019-14853CVE-2019-14859CVE-2019-25025CVE-2020-14343 Red Hat Updated 13 November 2026
  • SUSE-SU-2021:2927-1

    Security update for rubygem-addressable

    CVE-2021-32740 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2928-1

    Security update for rubygem-addressable

    CVE-2021-32740 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-32740

    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…

    CVE-2021-32740 Ubuntu Updated 7 July 2026
  • openSUSE-SU-2024:12247-1

    ruby3.1-rubygem-http-5.1.0-1.1 on GA media

    CVE-2021-32740 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13157-1

    ruby3.2-rubygem-http-5.1.0-1.4 on GA media

    CVE-2021-32740 openSUSE Updated 4 February 2026

References