What’s Vulnerable › Vulnerabilities
CVE-2018-7212
- Severity: medium (CVSS 5.3 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-02-18 · updated 2026-06-17
- Weakness: CWE-22
Description
An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.
Affected products
- sinatra: 2.0.0, 2.0.0-beta2, 2.0.0-rc1, 2.0.0-rc2, 2.0.0-rc3, 2.0.0-rc4 (+3)
References
- https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c
- https://github.com/sinatra/sinatra/pull/1379
- https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c
- https://github.com/sinatra/sinatra/pull/1379
Get alerted when CVE-2018-7212 or the next vulnerability affects your stack