8.8
CWE
494
Advisory Published
Updated

CVE-2022-45442: Sinatra vulnerable to Reflected File Download attack

First published: Mon Nov 28 2022(Updated: )

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.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Sinatrarb Sinatra>=2.0.0<2.2.3
Sinatrarb Sinatra>=3.0.0<3.0.4
Debian Debian Linux=10.0
>=2.0.0<2.2.3
>=3.0.0<3.0.4
=10.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is Sinatra?

    Sinatra is a domain-specific language for creating web applications in Ruby.

  • What is the vulnerability ID for this issue?

    The vulnerability ID for this issue is CVE-2022-45442.

  • What is the severity of CVE-2022-45442?

    The severity of CVE-2022-45442 is high with a CVSS score of 8.8.

  • What is the affected software?

    The affected software is Sinatra versions 2.0 before 2.2.3 and 3.0 before 3.0.4, as well as Debian Linux version 10.0.

  • How can I fix the vulnerability in Sinatra?

    To fix the vulnerability in Sinatra, upgrade to version 2.2.3 or 3.0.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203