Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-32740

published high CVSS 3.1 · 7.5

Regular Expression Denial of Service in Addressable templates

Published
06 Jul 2021, 14:15:12 UTC
Updated
03 Aug 2024, 23:33:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
sporkmonger — addressable> 2.3.0, <= 2.7.0 Affected Not stated GitHub_M
Alpine Linux edge ruby-addressable Fixed 2.8.0-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-rubygem-httpaarch64 Advisory build 5.0.4-1.1 OPENSUSE-SU-2024:11592-1
Alpine Linux v3.15 ruby-addressable Fixed 2.8.0-r0 Package fix record
Alpine Linux v3.16 ruby-addressable Fixed 2.8.0-r0 Package fix record
Alpine Linux v3.17 ruby-addressable Fixed 2.8.0-r0 Package fix record
Alpine Linux v3.18 ruby-addressable Fixed 2.8.0-r0 Package fix record
Alpine Linux v3.19 ruby-addressable Fixed 2.8.0-r0 Package fix record
Show 20 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.20 ruby-addressable Fixed 2.8.0-r0 Package fix record
Alpine Linux v3.21 ruby-addressable Fixed 2.8.0-r0 Package fix record
Alpine Linux v3.22 ruby-addressable Fixed 2.8.0-r0 Package fix record
Alpine Linux v3.23 ruby-addressable Fixed 2.8.0-r0 Package fix record
Alpine Linux v3.24 ruby-addressable Fixed 2.8.0-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-rubygem-httpppc64le Advisory build 5.0.4-1.1 OPENSUSE-SU-2024:11592-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-rubygem-https390x Advisory build 5.0.4-1.1 OPENSUSE-SU-2024:11592-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-rubygem-httpx86_64 Advisory build 5.0.4-1.1 OPENSUSE-SU-2024:11592-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.0-rubygem-httpaarch64 Advisory build 5.0.4-1.1 OPENSUSE-SU-2024:11592-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.0-rubygem-httpppc64le Advisory build 5.0.4-1.1 OPENSUSE-SU-2024:11592-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.0-rubygem-https390x Advisory build 5.0.4-1.1 OPENSUSE-SU-2024:11592-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.0-rubygem-httpx86_64 Advisory build 5.0.4-1.1 OPENSUSE-SU-2024:11592-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.1-rubygem-httpaarch64 Advisory build 5.1.0-1.1 OPENSUSE-SU-2024:12247-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.1-rubygem-httpppc64le Advisory build 5.1.0-1.1 OPENSUSE-SU-2024:12247-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.1-rubygem-https390x Advisory build 5.1.0-1.1 OPENSUSE-SU-2024:12247-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.1-rubygem-httpx86_64 Advisory build 5.1.0-1.1 OPENSUSE-SU-2024:12247-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-httpaarch64 Advisory build 5.1.0-1.4 OPENSUSE-SU-2024:13157-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-httpppc64le Advisory build 5.1.0-1.4 OPENSUSE-SU-2024:13157-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-https390x Advisory build 5.1.0-1.4 OPENSUSE-SU-2024:13157-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-httpx86_64 Advisory build 5.1.0-1.4 OPENSUSE-SU-2024:13157-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
sporkmonger addressable > 2.3.0, <= 2.7.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-400 CWE-400: Uncontrolled Resource Consumption (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

Regular Expression Denial of Service in Addressable templates

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
4a2c805c1aca5eb62d36bc44467daac03bacaaf4b929fa5799665e0ff2323413
Ingested
23 Sep 2026, 07:54:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected