CVE-2019-18978

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductRack-cors
PublishedNov 14, 2019
First seenNov 14, 2019

How to fix

Update
  • rack-cors_project rack-cors1.0.4 or later

Affected products

ProductAffected versionsFixed in
rack-cors_project rack-corsv < 1.0.41.0.4
debian debian_linux8.0, 9.0, 10.0—
canonical ubuntu_linux16.04—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.