[manjaro-security] [ASA-202107-19] ruby-addressable: denial of service

Jonas Witschel via arch-security arch-security at lists.archlinux.org
Fri Jul 9 16:16:53 CEST 2021


Arch Linux Security Advisory ASA-202107-19
==========================================

Severity: Medium
Date    : 2021-07-06
CVE-ID  : CVE-2021-32740
Package : ruby-addressable
Type    : denial of service
Remote  : Yes
Link    : https://security.archlinux.org/AVG-2136

Summary
=======

The package ruby-addressable before version 2.8.0-1 is vulnerable to
denial of service.

Resolution
==========

Upgrade to 2.8.0-1.

# pacman -Syu "ruby-addressable>=2.8.0-1"

The problem has been fixed upstream in version 2.8.0.

Workaround
==========

As a workaround, only create Template objects from trusted sources that
have been validated not to produce catastrophic backtracking.

Description
===========

An uncontrolled resource consumption vulnerability exists in ruby-
addressable after version 2.3.0 and before version 2.8.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.

Impact
======

A crafted URI template from an untrusted source could cause high
resource consumption during matching, leading to denial of service.

References
==========

https://github.com/sporkmonger/addressable/security/advisories/GHSA-jxhc-q857-3j6g
https://github.com/sporkmonger/addressable/commit/b48ff03347a6d46e8dc674e242ce74c6381962a5
https://security.archlinux.org/CVE-2021-32740
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.manjaro.org/pipermail/manjaro-security/attachments/20210709/eeee4c2a/attachment.sig>


More information about the manjaro-security mailing list