RubyGems (Ruby)Worst: High3 advisories

rack-cors: known vulnerabilities

rack-cors has 3 reviewed security advisories in the GitHub Advisory Database — 1 high, 2 moderate. The most recent was published 2024-02-26. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the rack-cors versions running across your servers, containers and images, and ranks what to patch first.

How to fix rack-cors

Upgrade rack-cors to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):

bundle update rack-cors to 2.0.2 (or gem install rack-cors -v 2.0.2)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Rack CORS Middleware has Insecure File Permissions Moderate — Affected: from 2.0.1 up to 2.0.2. Fixed in 2.0.2. Published 2024-02-26. GHSA-785g-282q-pwvx · CVE-2024-27456
The rack-cors rubygem may allow directory traveral Moderate 5.3 CWE-22 — Affected: before 1.0.4. Fixed in 1.0.4. Published 2019-11-14. GHSA-pf8f-w267-mq2h · CVE-2019-18978
Missing Regex anchor in Rack-Cors allows malicious third party site to perform CORS request High 8.8 — Affected: before 0.4.1. Fixed in 0.4.1. Published 2018-07-31. GHSA-2j9c-9vmv-7m39 · CVE-2017-11173

Find rack-cors across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.