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.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 90.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
RubyGemsrequest_store1.4.0GHSA-frp2-5qfc-7r8m
Ubuntu:22.04:LTSruby-request-storeno fix listedUBUNTU-CVE-2024-43791
Ubuntu:24.04:LTSruby-request-storeno fix listedUBUNTU-CVE-2024-43791
Ubuntu:25.10ruby-request-storeno fix listedUBUNTU-CVE-2024-43791
Ubuntu:26.04:LTSruby-request-storeno fix listedUBUNTU-CVE-2024-43791
Ubuntu:26.10ruby-request-storeno fix listedUBUNTU-CVE-2024-43791

Affected products (as reported)

VendorProductVersions
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

References