NetSight
medium5.3

CVE-2019-18978

An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1.0.4 for Ruby.

Impact

An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1.0.4 for Ruby. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.

Affected products

VendorProductAffected versions
Rack-Cors ProjectRack-Cors
before 1.0.4
DebianDebian Linux
Versions 8.0, 9.0, 10.0
CanonicalUbuntu Linux
Version 16.04

Weakness classification

References