CVE Explorer
CVE-2025-61921
Sinatra is a domain-specific language for creating web applications in Ruby. In versions prior to 4.2.0, 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. Carefully crafted input can cause `If-Match` and `If-None-Match` header parsing in Sinatra to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is typically invol
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"sinatra","vendor":"sinatra","versions":[{"status":"affected","version":"< 4.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ac2b9b1e060e845d036e0360a3a83fb1ed2a817b9f285f048ec206ab6ef41274 · sha256:6a7a99fb867dc127… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":2.7,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ac2b9b1e060e845d036e0360a3a83fb1ed2a817b9f285f048ec206ab6ef41274 · sha256:6a7a99fb867dc127… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-1333","description":"CWE-1333: Inefficient Regular Expression Complexity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ac2b9b1e060e845d036e0360a3a83fb1ed2a817b9f285f048ec206ab6ef41274 · sha256:6a7a99fb867dc127… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://bugs.ruby-lang.org/issues/19104","tags":["x_refsource_MISC"],"url":"https://bugs.ruby-lang.org/issues/19104"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac2b9b1e060e845d036e0360a3a83fb1ed2a817b9f285f048ec206ab6ef41274 · sha256:6a7a99fb867dc127… · /containers/cna/references/4
{"name":"https://github.com/sinatra/sinatra/issues/2120","tags":["x_refsource_MISC"],"url":"https://github.com/sinatra/sinatra/issues/2120"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac2b9b1e060e845d036e0360a3a83fb1ed2a817b9f285f048ec206ab6ef41274 · sha256:6a7a99fb867dc127… · /containers/cna/references/1
{"name":"https://github.com/sinatra/sinatra/pull/1823","tags":["x_refsource_MISC"],"url":"https://github.com/sinatra/sinatra/pull/1823"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac2b9b1e060e845d036e0360a3a83fb1ed2a817b9f285f048ec206ab6ef41274 · sha256:6a7a99fb867dc127… · /containers/cna/references/2
{"name":"https://github.com/sinatra/sinatra/pull/2121","tags":["x_refsource_MISC"],"url":"https://github.com/sinatra/sinatra/pull/2121"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac2b9b1e060e845d036e0360a3a83fb1ed2a817b9f285f048ec206ab6ef41274 · sha256:6a7a99fb867dc127… · /containers/cna/references/3
{"name":"https://github.com/sinatra/sinatra/security/advisories/GHSA-mr3q-g2mv-mr4q","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sinatra/sinatra/security/advisories/GHSA-mr3q-g2mv-mr4q"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac2b9b1e060e845d036e0360a3a83fb1ed2a817b9f285f048ec206ab6ef41274 · sha256:6a7a99fb867dc127… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.