Skip to content

CVE-2024-27456 Rack CORS Middleware has Insecure File Permissions

CriticalCVSS 9.1 EPSS 0.77% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Debian

Description

rack-cors (aka Rack CORS Middleware) 2.0.1 has 0666 permissions for the .rb files.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
rubygems rack-cors(RubyGems) = 2.0.1; >= 2.0.1, < 2.0.2 2.0.2 Fixed
rack-cors project rack-cors = 2.0.1 No fix listed Versions listed
rylabs rack cors middleware = 2.0.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems rack-cors(RubyGems) = 2.0.1 No fix listed
rubygems rack-cors(RubyGems) >= 2.0.1, < 2.0.2 2.0.2
rack-cors project rack-cors = 2.0.1 No fix listed
rylabs rack cors middleware = 2.0.1 No fix listed

References