CVE-2021-32740

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32740
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32740.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32740
Aliases
Related
Published
2021-07-06T15:15:07Z
Modified
2024-10-12T07:35:53.631004Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Debian:11 / ruby-addressable

Package

Name
ruby-addressable
Purl
pkg:deb/debian/ruby-addressable?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-addressable

Package

Name
ruby-addressable
Purl
pkg:deb/debian/ruby-addressable?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-addressable

Package

Name
ruby-addressable
Purl
pkg:deb/debian/ruby-addressable?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/sporkmonger/addressable

Affected ranges

Type
GIT
Repo
https://github.com/sporkmonger/addressable
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

addressable-2.*

addressable-2.0.0
addressable-2.0.1
addressable-2.0.2
addressable-2.1.0
addressable-2.1.1
addressable-2.1.2
addressable-2.2.0
addressable-2.2.1
addressable-2.2.2
addressable-2.2.3
addressable-2.2.4
addressable-2.2.5
addressable-2.2.6
addressable-2.2.7
addressable-2.2.8
addressable-2.3.0
addressable-2.3.1
addressable-2.3.2
addressable-2.3.3
addressable-2.3.4
addressable-2.3.5
addressable-2.3.6
addressable-2.3.7
addressable-2.3.8
addressable-2.4.0
addressable-2.5.0
addressable-2.5.1
addressable-2.5.2
addressable-2.6.0
addressable-2.7.0