|Summary:||<dev-ruby/addressable-2.8.0: uncontrolled resource consumption (CVE-2021-32740)|
|Product:||Gentoo Security||Reporter:||John Helmert III <ajak>|
|Component:||Vulnerabilities||Assignee:||Gentoo Security <security>|
|Runtime testing required:||---|
Description John Helmert III 2021-07-06 22:03:00 UTC
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. Please bump
Comment 1 Hans de Graaff 2021-07-06 22:06:56 UTC
commit d03e64e235cabf050aa9a548ad4c75d00ba29b68 Author: Hans de Graaff <firstname.lastname@example.org> 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 <email@example.com>
Comment 2 Agostino Sarubbo 2021-07-09 06:27:23 UTC
Comment 3 Agostino Sarubbo 2021-07-13 06:34:23 UTC
x86 stable. Maintainer(s), please cleanup. Security, please vote.
Comment 4 Hans de Graaff 2021-07-13 09:21:48 UTC
Comment 5 John Helmert III 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!