Security mailing lists by PureSourceCode

CVE-2022-45442

HIGH 8.8CVSS 3.1

Sinatra vulnerable to Reflected File Download attack

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.

Published
28 Nov 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-494
Also known as
GHSA-2x8x-jmrp-phxw
Sources
NVDJSONOSV GHSA-2x8x-jmrp-phxwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sinatrarb sinatra
cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.2.3 2.2.3
NVD sinatrarb sinatra
cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.4 3.0.4
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV RubyGems sinatra >= 3.0, < 3.0.4 3.0.4
OSV RubyGems sinatra >= 2.0.0, < 2.2.3 2.2.3

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 28 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.