ID CVE-2021-32740
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:addressable_project:addressable:2.3.0:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.0:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.3.1:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.1:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.3.2:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.2:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.3.3:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.3:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.3.4:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.4:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.3.5:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.5:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.3.6:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.6:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.3.7:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.7:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.3.8:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.3.8:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.4.0:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.4.0:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.5.0:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.5.0:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.5.1:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.5.1:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.5.2:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.5.2:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.6.0:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.6.0:*:*:*:*:ruby:*:*
  • cpe:2.3:a:addressable_project:addressable:2.7.0:*:*:*:*:ruby:*:*
    cpe:2.3:a:addressable_project:addressable:2.7.0:*:*:*:*:ruby:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 21-11-2024 - 06:07)
Impact:
Exploitability:
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:N/A:P
Last major update 21-11-2024 - 06:07
Published 06-07-2021 - 15:15
Last modified 21-11-2024 - 06:07
Back to Top