CVE-2024-27456 json
Rack CORS Middleware has Insecure File Permissions
published 2024-02-26 2 y ago modified 2026-06-17 4 mo ago also GHSA-785g-282q-pwvx , EUVD-2024-0551
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
rack-cors (aka Rack CORS Middleware) 2.0.1 has 0666 permissions for the .rb files.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-27456 updated cvss 7.8
rack-cors: Insecure File Permissions in rack-cors
-
Red Hat Satellite 6 rubygem-rack-cors, tfm-rubygem-rack-corsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/cyu/rack-cors/issues/274 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rack-cors | >=2.0.1, <2.0.2 |
2.0.2 |
Affected products
- rack-cors_project rack-cors
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/cyu/rack-cors/issues/274
web, exploit, issue-tracking, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-27456
advisory
-
github.com
/advisories/GHSA-785g-282q-pwvx
advisory
-
github.com
/cyu/rack-cors
package
-
github.com
/cyu/rack-cors/blob/878063987bd1ca956282dda95697fd821bf24d2e/CHANGELOG.md#changed
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rack-cors/CVE-2024-27456.yml
web
Sources
- CVE List CVE-2024-27456
- GitHub Advisory GHSA-785g-282q-pwvx
- NVD CVE-2024-27456
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.