Skip to content
Fencer Vulns
critical 9.1

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

  • rubygems rack-cors 2.0.2

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-cors
    not 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

Sources

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.