# CVE-2017-11173: Missing Regex anchor in Rack-Cors allows malicious third party site to perform CORS request

Source: https://junglewise.ai/threats/cve-2017-11173-missing-regex-anchor-in-rack-cors-allows-malicious-third-party  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-07-31  
License: CC BY 4.0 with a link back

CVE-2017-11173 · Severity: low · CVSS 3.1 · Published 2018-07-31

Missing Regex anchor in Rack-Cors allows malicious third party site to perform CORS request

Technologies: [rack-cors (RubyGems)](https://junglewise.ai/threats/technologies/rack-cors). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2017-11173 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2017-11173 being exploited in the wild.

**How severe is CVE-2017-11173?** Low severity, with a CVSS score of 3.1, published 31 July 2018.

**Which products and versions are affected?** rack-cors (RubyGems) ECOSYSTEM:introduced=0,fixed=0.4.1.

**Is there a fix for CVE-2017-11173?** Yes. rack-cors (RubyGems): upgrade to 0.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-11173?** Check whether you run rack-cors (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- rack-cors (RubyGems): upgrade to 0.4.1 or later

  ```sh
  bundle update rack-cors
  ```


## Affected products

- rack-cors (RubyGems) ECOSYSTEM:introduced=0,fixed=0.4.1

## Identifiers

- CVE-2017-11173
- GHSA-2j9c-9vmv-7m39

## Related threats

- [Rack CORS Middleware has Insecure File Permissions](https://junglewise.ai/threats/cve-2024-27456-rack-cors-middleware-has-insecure-file-permissions)
- [The rack-cors rubygem may allow directory traveral](https://junglewise.ai/threats/cve-2019-18978-the-rack-cors-rubygem-may-allow-directory-traveral)
