Sinatra code execution | CVE-2022-45442
NAME
Sinatra code execution
- Platforms Affected:
Sinatra Sinatra 2.0.0
Sinatra Sinatra 2.2.2
Sinatra Sinatra 3.0.0
Sinatra Sinatra 3.0.3 - Risk Level:
8.8 - Exploitability:
Unproven - Consequences:
Gain Access
DESCRIPTION
Sinatra could allow a remote attacker to execute arbitrary code on the system, caused by a reflected file download (RFD) attack. By sending a specially-crafted request using the Content-Disposition header, an attacker could exploit this vulnerability to execute arbitrary code on the system.
CVSS 3.0 Information
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Access Vector: Network
- Access Complexity: Low
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
- Remediation Level: Official Fix
MITIGATION
Upgrade to the latest version of Sinatra (2.2.3, 3.0.4 or later), available from the Sinatra GIT Repository. See References.
- Reference Link:
https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw - Reference Link:
https://www.mend.io/vulnerability-database/CVE-2022-45442
A considerable amount of time and effort goes into maintaining this website, creating backend automation and creating new features and content for you to make actionable intelligence decisions. Everyone that supports the site helps enable new functionality.
If you like the site, please support us on Patreon using the button below
To keep up to date follow us on the below channels.