Ruby sinatra: Sinatra is a domain-specific language for creating web applications in Ruby.
Sinatra, a Ruby domain-specific language for web applications, has a vulnerability in versions before 2.2.3 and 3.0.4. The flaw allows a reflected file download (RFD) attack when the Content-Disposition header's filename is derived from user input. This vulnerability can impact confidentiality, integrity, and availability of affected systems. Versions 2.2.3 and 3.0.4 include patches that address this issue.
AI Analysis
Technical Summary
The Ruby Sinatra framework contains a vulnerability in versions prior to 2.2.3 and 3.0.4 where the Content-Disposition header's filename parameter is derived from user input without sufficient validation. This enables a reflected file download (RFD) attack, potentially allowing attackers to trick users into downloading malicious files. The vulnerability affects confidentiality, integrity, and availability of applications using these versions. Official patches are available in versions 2.2.3 and 3.0.4.
Potential Impact
Successful exploitation of this vulnerability can lead to high impact on confidentiality, integrity, and availability due to the reflected file download attack vector. This may allow attackers to deliver malicious files to users, potentially leading to further compromise or data leakage.
Mitigation Recommendations
Patches addressing this vulnerability are available in Sinatra versions 2.2.3 and 3.0.4. Users should upgrade to these or later versions to remediate the issue. No additional vendor advisory indicates alternative mitigations or that no action is required.
Ruby sinatra: Sinatra is a domain-specific language for creating web applications in Ruby.
Description
Sinatra, a Ruby domain-specific language for web applications, has a vulnerability in versions before 2.2.3 and 3.0.4. The flaw allows a reflected file download (RFD) attack when the Content-Disposition header's filename is derived from user input. This vulnerability can impact confidentiality, integrity, and availability of affected systems. Versions 2.2.3 and 3.0.4 include patches that address this issue.
CVSS v3.1
Score 8.8high
Affected software
pkg:deb/ubuntu/[email protected]~esm2?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/[email protected]~esm2?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/[email protected]+deb11u1build0.22.04.1?arch=source&distro=jammyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Ruby Sinatra framework contains a vulnerability in versions prior to 2.2.3 and 3.0.4 where the Content-Disposition header's filename parameter is derived from user input without sufficient validation. This enables a reflected file download (RFD) attack, potentially allowing attackers to trick users into downloading malicious files. The vulnerability affects confidentiality, integrity, and availability of applications using these versions. Official patches are available in versions 2.2.3 and 3.0.4.
Potential Impact
Successful exploitation of this vulnerability can lead to high impact on confidentiality, integrity, and availability due to the reflected file download attack vector. This may allow attackers to deliver malicious files to users, potentially leading to further compromise or data leakage.
Mitigation Recommendations
Patches addressing this vulnerability are available in Sinatra versions 2.2.3 and 3.0.4. Users should upgrade to these or later versions to remediate the issue. No additional vendor advisory indicates alternative mitigations or that no action is required.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2022-45442
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:22.04:LTS"]
- Cvss Version
- 3.1
Threat ID: 6a61512c9c2644c7f8da707e
Added to database: 07/22/2026, 23:24:28 UTC
Last enriched: 07/30/2026, 06:59:02 UTC
Last updated: 09/10/2026, 19:24:53 UTC
Views: 41
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.