critical9.1
CVE-2024-27456
Rack CORS Middleware has Insecure File Permissions
Impact
rack-cors (aka Rack CORS Middleware) 2.0.1 has 0666 permissions for the .rb files.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | rack-cors | = 2.0.1 | 2.0.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Rylabs | Rack Cors Middleware | Version 2.0.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/cyu/rack-cors/issues/274
- https://github.com/advisories/GHSA-785g-282q-pwvx
- https://nvd.nist.gov/vuln/detail/CVE-2024-27456
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-cors/CVE-2024-27456.yml
- https://github.com/cyu/rack-cors/blob/878063987bd1ca956282dda95697fd821bf24d2e/CHANGELOG.md#changed