Medium severity · published Feb 18, 2018
CVE-2018-7212
An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows
5.3
CVSS
1.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.8% · higher than 79% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SI
Sinatra · Sinatrarb
2.0.0; 2.0.0; 2.0.0; 2.0.0; 2.0.0; 2.0.0; +3 more · source: NVD
Affected product
SI
Sinatra
Sinatrarb
More from Sinatra
8.8
CVE-2022-45442
Sinatra is a domain-specific language for creating web applications in Ruby
7.5
CVE-2025-61921
Sinatra has ReDoS vulnerability in ETag header value generation
7.5
CVE-2022-29970
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files
6.1
CVE-2018-11627
Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception