ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2019-18978

Details

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 packages

EcosystemPackageAffected versions
Debian:12ruby-rack-cors
All versions before 1.1.1-1 (fixed in 1.1.1-1)
Debian:13ruby-rack-cors
All versions before 1.1.1-1 (fixed in 1.1.1-1)
Debian:14ruby-rack-cors
All versions before 1.1.1-1 (fixed in 1.1.1-1)

References