CVE-2024-27456Rylabs Rack Cors Middleware
Critical 9.1 No auth needed
Follow: this CVE · Rylabs · Rylabs Rack Cors Middleware We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Feb 26, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
rack-cors (aka Rack CORS Middleware) 2.0.1 has 0666 permissions for the .rb files.
What to do
- Apply the vendor's security update for Rack Cors Middleware.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rack-cors |
≥ 2.0.1 < 2.0.2 |
2.0.2 |
gem "rack-cors", ">= 2.0.2" |
Per OSV / GitHub Advisories (GHSA-785g-282q-pwvx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rylabs | rack_cors_middleware | 2.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch