Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800926 (CVE-2021-32740) - <dev-ruby/addressable-2.8.0: uncontrolled resource consumption (CVE-2021-32740)
Summary: <dev-ruby/addressable-2.8.0: uncontrolled resource consumption (CVE-2021-32740)
Alias: CVE-2021-32740
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [noglsa]
Depends on:
Reported: 2021-07-06 22:03 UTC by John Helmert III
Modified: 2021-07-13 15:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---
nattka: sanity-check+


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-07-06 22:03:00 UTC

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.

Please bump
Comment 1 Hans de Graaff gentoo-dev Security 2021-07-06 22:06:56 UTC
commit d03e64e235cabf050aa9a548ad4c75d00ba29b68
Author: Hans de Graaff <>
Date:   Tue Jul 6 21:47:38 2021 +0200

    dev-ruby/addressable: add 2.8.0
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Hans de Graaff <>
Comment 2 Agostino Sarubbo gentoo-dev 2021-07-09 06:27:23 UTC
amd64 stable
Comment 3 Agostino Sarubbo gentoo-dev 2021-07-13 06:34:23 UTC
x86 stable.

Maintainer(s), please cleanup.
Security, please vote.
Comment 4 Hans de Graaff gentoo-dev Security 2021-07-13 09:21:48 UTC
Cleanup done.
Comment 5 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-07-13 15:01:29 UTC
Only a DoS and input not typically read from untrusted sources, so I vote no. Thanks graaff, all done!