The files published as part of request_store 1.3.2 have 0666 permissions, meaning that they are world-writable, which allows local users to execute arbitrary code.
This version was published in 2017, and most production environments do not allow access for local users, so the chances of this being exploited are very low, given that the vast majority of users will have upgraded, and those that have not, if any, are not likely to be exposed.
I am not aware of any other version of the gem with incorrect permissions, so simply upgrading should fix the issue.
You could chmod the files yourself, I guess.
https://cwe.mitre.org/data/definitions/276.html
{ "nvd_published_at": "2024-08-23T15:15:16Z", "cwe_ids": [ "CWE-276" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2024-08-23T18:54:26Z" }