SB2023012439 - Remote code execution in Sinatra
Published: January 24, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Download of code without integrity check (CVE-ID: CVE-2022-45442)
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
Install update from vendor's website.
References
- 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