rack-cors vulnerabilities

Middleware that will make Rack-based apps CORS compatible. Fork the project here: https://github.com/cyu/rack-cors

Registry
RubyGems
Latest
3.0.0
License
MIT

3 known advisories

The latest version, 3.0.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative rack-cors # Gemfile: '>= 3.0.0'

Is your project on an affected rack-cors?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for rack-cors

  • MediumCVE-2024-27456GHSA-785g-282q-pwvx26 Feb 2024

    Rack CORS Middleware has Insecure File Permissions

    Affected
    >=2.0.1 <2.0.2
    Fixed in
    2.0.2
  • MediumCVE-2019-18978GHSA-pf8f-w267-mq2h15 Nov 2019

    The rack-cors rubygem may allow directory traveral

    Affected
    <1.0.4
    Fixed in
    1.0.4
  • HighCVE-2017-11173GHSA-2j9c-9vmv-7m3931 Jul 2018

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

    Affected
    <0.4.1
    Fixed in
    0.4.1

Is your rack-cors version vulnerable?

Which of your client projects still run an old rack-cors?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.