Live threats

All CVEs / Rack-cors Project

CVE-2017-11173Rack-cors Project Rack-cors

High 8.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rack-cors.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rack-cors_projectrack-cors< 0.4.1
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.