ADVISORIES

Vulnerability

CVE-2019-18978

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.

7 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 4Ubuntu 2RubyGems 1

Advisories

  • DEBIAN-CVE-2019-18978

    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…

    CVE-2019-18978 Debian Updated 21 September 2026
  • DLA-2096-1

    ruby-rack-cors - security update

    CVE-2019-18978 Debian Updated 20 November 2026
  • DLA-2389-1

    ruby-rack-cors - security update

    CVE-2019-18978 Debian Updated 20 November 2026
  • DSA-4918-1

    ruby-rack-cors - security update

    CVE-2019-18978 Debian Updated 20 November 2026
  • GHSA-pf8f-w267-mq2h

    The rack-cors rubygem may allow directory traveral

    Moderate CVE-2019-18978 RubyGems Updated 16 February 2024
  • UBUNTU-CVE-2019-18978

    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…

    CVE-2019-18978 Ubuntu Updated 4 February 2026
  • USN-4571-1

    ruby-rack-cors vulnerability

    CVE-2019-18978 Ubuntu Updated 27 April 2026

References