CVE catalog

CVE-2022-45442

ruby-sinatra: CVE-2022-45442

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.69% · Oct 25, 2026

Sinatra is a domain-specific language for creating web applications in Ruby. An issue was discovered in Sinatra 2.0 before 2.2.3 and 3.0 before 3.0.4. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a response when the filename is derived from user-supplied input. Version 2.2.3 and 3.0.4 contain patches for this issue.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-sinatrasid4.2.1-5fixed
Debianruby-sinatraforky4.2.1-5fixed
Debianruby-sinatratrixie4.1.1-5fixed
Debianruby-sinatrabookworm3.0.5-3+deb12u1fixed
Ubunturuby-sinatrapro1.4.7-5vulnerable
Ubunturuby-sinatrapro1.4.8-1vulnerable
Ubunturuby-sinatrapro1.4.8-1ubuntu0.1~esm2fixed
Ubunturuby-sinatra22.042.0.8.1-2vulnerable
Ubunturuby-sinatra22.042.0.8.1-2+deb11u1build0.22.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-sinatrasourcesid3.0.5-2not yet assignedNot reported[1025125]
Debianruby-sinatrasourceforky3.0.5-2not yet assignedNot reported[1025125]
Debianruby-sinatrasourcetrixie3.0.5-2not yet assignedNot reported[1025125]
Debianruby-sinatrasourcebookworm3.0.5-2not yet assignedNot reported[1025125]
Ubunturuby-sinatradebpro1.4.8-1ubuntu0.1~esm2Not reportedUBUNTU-CVE-2022-45442Not reported
Ubunturuby-sinatradeb22.042.0.8.1-2+deb11u1build0.22.04.1Not reportedUBUNTU-CVE-2022-45442Not reported

[Debian bug #1025125]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [ruby-sinatra]

    Details (2)
    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.5-2

      dsa · ruby-sinatra · debian · bookworm

    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.5-2

      dsa · ruby-sinatra · debian · bookworm

  • Details (2)
    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.5-2

      dsa · ruby-sinatra · debian · bookworm

    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.5-2

      dsa · ruby-sinatra · debian · bookworm

  • Source package: [ruby-sinatra]

    Details (2)
    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.5-2

      dsa · ruby-sinatra · debian · bookworm

    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.5-2

      dsa · ruby-sinatra · debian · bookworm

Observed:

References