VDB
Sign up
MEDIUM

GHSA-785g-282q-pwvx

Rack CORS Middleware has Insecure File Permissions

Quick fix

GHSA-785g-282q-pwvx — rack-cors: upgrade to the fixed version with the command below.

bundle update rack-cors

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/rack-cors
Introduced in: 2.0.1Fixed in: 2.0.2
Fixbundle update rack-cors

References