CVE-2017-11173 — Missing Regex anchor in rack-cors — CVE Details
HIGH
Missing Regex anchor in Rack-Cors allows malicious third party site to perform CORS request
Published July 31, 2018Updated December 3, 2024Source: osv
Summary
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.
Advisory Timeline
- First published July 31, 2018 (2995 days ago).
- Last revised December 3, 2024 — 2316 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
Bundler
Update rack-cors to 0.4.1 or latergem install rack-cors -v 0.4.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| rack-cors | rubygems | 0.1.0, 0.1.1, 0.2.0, 0.2.2 (+9 more) | 0.4.1 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-11173ADVISORY
- https://github.com/cyu/rack-cors/commit/42ebe6caa8e85ffa9c8a171bda668ba1acc7a5e6WEB
- https://github.com/cyu/rack-corsPACKAGE
- https://packetstormsecurity.com/files/143345/rack-cors-Missing-Anchor.htmlWEB
- https://seclists.org/fulldisclosure/2017/Jul/22WEB
- https://www.debian.org/security/2017/dsa-3931WEB
Frequently Asked Questions
- What is CVE-2017-11173?
- Missing Regex anchor in Rack-Cors allows malicious third party site to perform CORS request This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2017-11173?
- CVE-2017-11173 affects rack-cors. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-11173 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
8.8
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-2j9c-9vmv-7m39
Related CVEs
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies