CVE-2018-7212: sinatrarb sinatra Path Traversal
CVSS: 5.3v3.0MediumModified
AliasesGHSA-h29f-7f56-j8wh
Published 18-02-2018Last modified 05-08-2024
Vulnerability summary
CVE-2018-7212 is a medium (CVSS 5.3) Path Traversal vulnerability in sinatrarb sinatra. EPSS estimates a 1.84% chance of exploitation in the next 30 days, higher than 78.6% of scored vulnerabilities.
CVSS score
5.3/10
010
Medium · v3.0 (NVD)EPSS score
1.84%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 18-02-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versionsMedium 5.3Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NSourcesAll 2 agree
- OSV · RubygemsEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:N/A:NSourcesSingle source
EPSS trend
Probability
1.84%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
0.00 pp
From 1.84% on 19-09-2026
19-09-202619-10-2026
EPSS score1.84%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
RubyGems1 product
- sinatra≥ 2.0.0.beta1, < 2.0.1
Sinatrarb1 product
- sinatra2.0.0 | 2.0.0:beta2 | 2.0.0:rc1 | 2.0.0:rc2 | 2.0.0:rc3 | 2.0.0:rc4 | 2.0.0:rc5 | 2.0.0:rc6 | 2.0.1:rc1
2 vendors · 2 products
References
4 links- github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9cX Refsource MISCThird Party AdvisoryWEB
- github.com/sinatra/sinatraPACKAGE