CISA list

● RubyGems gem

sinatra

Sinatra has six security advisories. The newest release any of them names as the fix is 4.2.0.

As of , sinatra has six security advisories. The newest release any of them names as the fix is 4.2.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 4.2.04.2.06 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2025-61921GHSA-mr3q-g2mv-mr4qSinatra is vulnerable to ReDoS through ETag header value generationLow severityBefore 4.2.04.2.0
CVE-2024-21510GHSA-hxx2-7vcw-mqr3Sinatra vulnerable to Reliance on Untrusted Inputs in a Security DecisionModerate severityBefore 4.1.04.1.0
CVE-2022-45442GHSA-2x8x-jmrp-phxwSinatra vulnerable to Reflected File Download attackHigh severityFrom 3.0 before 3.0.4; From 2.0.0 before 2.2.32.2.3, 3.0.4
CVE-2022-29970GHSA-qp49-3pvw-x4m5sinatra does not validate expanded path matchesHigh severityBefore 2.2.02.2.0
CVE-2018-11627GHSA-mq35-wqvf-r23cSinatra Cross-site Scripting vulnerabilityModerate severityFrom 2.0.0 before 2.0.22.0.2
CVE-2018-7212GHSA-h29f-7f56-j8whSinatra Path Traversal vulnerabilityModerate severityFrom 2.0.0.beta1 before 2.0.12.0.1

Other RubyGems gems

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0