Directory Traversal The advisory has been revoked - it doesn't affect any version of package ruby-rack-cors  (opens in a new tab)


Threat Intelligence

EPSS
2.46% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2010-RUBYRACKCORS-1030886
  • published15 Nov 2019
  • disclosed14 Nov 2019

Introduced: 14 Nov 2019

CVE-2019-18978  (opens in a new tab)
CWE-22  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-rack-cors package and not the ruby-rack-cors package as distributed by Ubuntu.

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.