CVE-2017-11173Rack-cors Project Rack-cors
High 8.8 No auth needed
Follow: this CVE · Rack-cors Project · Rack-cors Project Rack-cors We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Jul 13, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Rack-cors.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rack-cors |
< 0.4.1 |
0.4.1 |
gem "rack-cors", ">= 0.4.1" |
Per OSV / GitHub Advisories (GHSA-2j9c-9vmv-7m39). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rack-cors_project | rack-cors | < 0.4.1 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- seclists.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- github.com Patch Third Party Advisory
- packetstormsecurity.com Third Party Advisory VDB Entry