#VU71475 Download of code without integrity check in Sinatra - CVE-2022-45442
Published: January 24, 2023
Sinatra
Sinatra
Description
The vulnerability allows a remote attacker to compromise the affected system
The vulnerability exists due to software 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. A remote attacker cam compromise the affected system.
Remediation
External links
- https://github.com/advisories/GHSA-8x94-hmjh-97hq
- https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
- https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
- https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
- https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html