Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-11173

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-11173
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:39 UTC · Revision 1

Source evidence

CVE-2017-11173

core-osv · Original source

Published 13 Jul 2017, 03:29 UTC

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.

osv:CVE-2017-11173
Complete source record
{
  "id": "c0ddafbbd39fa479c3e8be780e2ddcc532906a3731de47f467c00d4bfaf514e2",
  "url": "https://osv.dev/vulnerability/CVE-2017-11173",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-11173",
    "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.",
    "evidence": "osv:CVE-2017-11173",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-11173",
      "aliases": [
        "CVE-2017-11173",
        "GHSA-2j9c-9vmv-7m39"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cyu/rack-cors",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6ae0bc825a56b24fa6e221e6daaed73cd7e4aedb"
                },
                {
                  "fixed": "42ebe6caa8e85ffa9c8a171bda668ba1acc7a5e6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rack-cors_project:rack-cors:*:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.4.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "42ebe6caa8e85ffa9c8a171bda668ba1acc7a5e6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.4.0",
            "v0.3.1",
            "v0.3.0",
            "v0.2.9",
            "v0.2.8",
            "v0.2.7",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.0",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11173.json"
          }
        }
      ],
      "modified": "2026-10-20T10:47:28.788828714Z",
      "provider": "osv",
      "references": [
        "https://packetstormsecurity.com/files/143345/rack-cors-Missing-Anchor.html",
        "https://github.com/cyu/rack-cors/commit/42ebe6caa8e85ffa9c8a171bda668ba1acc7a5e6"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-11173",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379420,
  "published_at": "2017-07-13T03:29:00.217+00:00"
}