~ / search / GHSA-pf8f-w267-mq2h

GHSA-pf8f-w267-mq2h

The rack-cors rubygem may allow directory traveral

Source: GitHub Advisory Database (reviewed) Moderate CVE-2019-18978

Packages

EcosystemPackageAffectedFixed in
RubyGems rack-cors < 1.0.4 1.0.4

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.