Lucene search

K
archlinuxArchLinuxASA-202107-19
HistoryJul 06, 2021 - 12:00 a.m.

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

2021-07-0600:00:00
security.archlinux.org
150

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

0.003 Low

EPSS

Percentile

64.7%

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

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanyruby-addressable< 2.8.0-1UNKNOWN

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

0.003 Low

EPSS

Percentile

64.7%