Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/sinatra@4.0.1
purl pkg:gem/sinatra@4.0.1
Next non-vulnerable version 4.2.0
Latest non-vulnerable version 4.2.0
Risk 2.4
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-tax5-a72w-mbhy
Aliases:
CVE-2025-61921
GHSA-mr3q-g2mv-mr4q
Sinatra is vulnerable to ReDoS through ETag header value generation There is a denial of service vulnerability in the `If-Match` and `If-None-Match` header parsing component of Sinatra, if the `etag` method is used when constructing the response and you are using Ruby < 3.2.
4.2.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T23:47:44.426946+00:00 GitLab Importer Affected by VCID-tax5-a72w-mbhy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/sinatra/CVE-2025-61921.yml 38.4.0
2026-04-16T17:41:34.507360+00:00 Ruby Importer Affected by VCID-tax5-a72w-mbhy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2025-61921.yml 38.4.0
2026-04-12T01:09:00.194746+00:00 GitLab Importer Affected by VCID-tax5-a72w-mbhy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/sinatra/CVE-2025-61921.yml 38.3.0
2026-04-11T21:39:33.531918+00:00 Ruby Importer Affected by VCID-tax5-a72w-mbhy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2025-61921.yml 38.3.0
2026-04-03T01:17:41.854114+00:00 GitLab Importer Affected by VCID-tax5-a72w-mbhy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/sinatra/CVE-2025-61921.yml 38.1.0
2026-04-02T19:37:00.305600+00:00 Ruby Importer Affected by VCID-tax5-a72w-mbhy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2025-61921.yml 38.1.0
2026-04-01T15:54:40.882865+00:00 Ruby Importer Affected by VCID-tax5-a72w-mbhy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2025-61921.yml 38.0.0