rack-cors 0.1.1

2 security vulnerabilities found in version 0.1.1

rack-cors Gem Missing Anchor permits unauthorized CORS requests

high severity CVE-2017-11173
high severity CVE-2017-11173
Patched versions: >= 0.4.1

Missing anchor in generated regex for rack-cors before 0.4.1 allows a malicious third-party site to perform CORS requests. If the configuration were intended to allow only the trusted example.com domain name and not the malicious example.net domain name, then example.com.example.net (as well as example.com-example.net) would be inadvertently allowed.

rack-cors directory traversal via path

medium severity CVE-2019-18978
medium severity CVE-2019-18978
Patched versions: >= 1.0.4

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.

No officially reported memory leakage issues detected.


This gem version does not have any officially reported memory leaked issues.

Gem version without a license.


Unless a license that specifies otherwise is included, nobody can use, copy, distribute, or modify this library without being at risk of take-downs, shake-downs, or litigation.

This gem version is available.


This gem version has not been yanked and is still available for usage.