CVE catalog

CVE-2019-18978

ruby-rack-cors: CVE-2019-18978

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.46% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-rack-corssid3.0.0-1fixed
Debianruby-rack-corsforky3.0.0-1fixed
Debianruby-rack-corstrixie2.0.2-1fixed
Debianruby-rack-corsbookworm1.1.1-1fixed
Ubunturuby-rack-cors16.040.4.0-1vulnerable
Ubunturuby-rack-cors16.040.4.0-1+deb9u1build0.16.04.1vulnerable
Ubunturuby-rack-cors16.040.4.0-1+deb9u2build0.16.04.1fixed
Ubunturuby-rack-cors16.040.4.0-1vulnerable
Ubunturuby-rack-cors16.040.4.0-1+deb9u1build0.16.04.1vulnerable
Ubunturuby-rack-cors16.040.4.0-1+deb9u2build0.16.04.1fixed
Ubunturuby-rack-cors18.040.4.1-1vulnerable
Ubunturuby-rack-cors18.041.0.1-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-rack-corssourcesid1.1.1-1not yet assignedNot reported[944849]
Debianruby-rack-corssourceforky1.1.1-1not yet assignedNot reported[944849]
Debianruby-rack-corssourcetrixie1.1.1-1not yet assignedNot reported[944849]
Debianruby-rack-corssourcebookworm1.1.1-1not yet assignedNot reported[944849]
Ubunturuby-rack-corsdeb16.040.4.0-1+deb9u2build0.16.04.1Not reportedUSN-4571-1Not reported
Ubunturuby-rack-corsdeb16.040.4.0-1+deb9u2build0.16.04.1Not reportedUBUNTU-CVE-2019-18978Not reported

[Debian bug #944849]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.1.1-1 · all · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · ruby-rack-cors · debian · bookworm; dsa · ruby-rack-cors · debian · 12

    • 1.1.1-1 · all · bookworm

      Fixed · Fixed: 1.1.1-1

      dsa · ruby-rack-cors · debian · bookworm; dsa · ruby-rack-cors · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 2.0.2-1 · all · trixie

      Fixed · Fixed: 1.1.1-1

      dsa · ruby-rack-cors · debian · 13

    • 2.0.2-1 · all · trixie

      Fixed · Fixed: 1.1.1-1

      dsa · ruby-rack-cors · debian · 13

Observed:

References