All reports
High

Sinatra vulnerable to Reflected File Download attack

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
RubyGemssinatra
Affected versions
>= 3.0, < 3.0.4
Fixed version
3.0.4
RubyGemssinatra
Affected versions
>= 2.0.0, < 2.2.3
Fixed version
2.2.3

Exploitation

CVE-2022-45442

Probability of exploitation in the next 30 days: 0.69%

FIRST EPSS · 2026-11-19

Description

Description

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.

References

Links

Credits

  • motoyasu-saburi