GitHub Advisory Database
GHSA-785g-282q-pwvx
Rack CORS Middleware has Insecure File Permissions
Details
rack-cors (aka Rack CORS Middleware) 2.0.1 has 0666 permissions for the .rb files.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | rack-cors | From 2.0.1 before 2.0.2 (fixed in 2.0.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27456
- https://github.com/cyu/rack-cors/issues/274
- https://github.com/advisories/GHSA-785g-282q-pwvx
- https://github.com/cyu/rack-cors
- https://github.com/cyu/rack-cors/blob/878063987bd1ca956282dda95697fd821bf24d2e/CHANGELOG.md#changed
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-cors/CVE-2024-27456.yml