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-q85... https://github.com/sporkmonger/addressable/commit/b48ff03347a6d46e8dc674e242... https://security.archlinux.org/CVE-2021-32740