Skip to content
OpenAdvisories
Medium USN-4571-1 1 CVE

ruby-rack-cors vulnerability

Published Oct 5, 2020 · Updated Apr 27, 2026

Summary

It was discovered that rack-cors did not properly handle relative file
paths. An attacker could use this vulnerability to access arbitrary files.

Fixed packages 1

ReleasePackageFixed in
Ubuntu · 16.04 LTS 16.04:LTS ruby-rack-cors 0.4.0-1+deb9u2build0.16.04.1

Vulnerabilities 1

  • Medium 5.3

    The rack-cors rubygem may allow directory traveral

    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.

References

  • report
    https://ubuntu.com/security/CVE-2019-18978