Every CVE Search/ Get API key

CVE-2018-7212

Sinatra Path Traversal vulnerability

5.3 MediumFix available

CVE-2018-7212 is a medium vulnerability (CVSS 5.3) in Sinatrarb Sinatra, published February 18, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.84%, the 78th percentile. Fixed in sinatra 2.0.1.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

1.84%Down 4.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

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.

Record
CVE-2018-7212
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-7212
Updated
2026-11-02
EUVDEUVD-2018-0167 No score

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.

Record
EUVD-2018-0167
Updated
2026-11-03
GitHub AdvisoriesGHSA-h29f-7f56-j8wh 5.3

Sinatra Path Traversal vulnerability

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.

Record
GHSA-h29f-7f56-j8wh
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV 5.3

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.

Record
CVE-2018-7212
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVGHSA-h29f-7f56-j8wh 5.3

Sinatra Path Traversal vulnerability

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.

Record
GHSA-h29f-7f56-j8wh
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sinatra
RubyGems
2.0.0.beta1 up to 2.0.1
2.0.1
sinatra
RubyGems
2.0.0.beta1 up to 2.0.1, plus listed versions
2.0.02.0.0.beta22.0.0.rc12.0.0.rc22.0.0.rc52.0.0.rc62.0.1.rc1
2.0.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

MoveEnter Open