Vulnerability · Published Aug 23, 2024 · Assigned by GitHub_M
CVE-2024-43791RequestStore has Incorrect Default Permissions
High 7.8
In plain English
A high-severity incorrect default permissions in request_store from steveklabnik. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
RequestStore provides per-request global storage for Rack. 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | request_store | 1.4.0 | GHSA-frp2-5qfc-7r8m |
| Ubuntu:22.04:LTS | ruby-request-store | no fix listed | UBUNTU-CVE-2024-43791 |
| Ubuntu:24.04:LTS | ruby-request-store | no fix listed | UBUNTU-CVE-2024-43791 |
| Ubuntu:25.10 | ruby-request-store | no fix listed | UBUNTU-CVE-2024-43791 |
| Ubuntu:26.04:LTS | ruby-request-store | no fix listed | UBUNTU-CVE-2024-43791 |
| Ubuntu:26.10 | ruby-request-store | no fix listed | UBUNTU-CVE-2024-43791 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| steveklabnik | request_store | = 1.3.2 |
Weakness: CWE-276 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H