CVE-2024-43791 — Vulnerability in request_store — CVE Details
request_store has Incorrect Default Permissions
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.28%). Schedule for your next planned update.
Does your project use an affected request_store version?
Paste your Gemfile.lock to check it for CVE-2024-43791 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Patches
I am not aware of any other version of the gem with incorrect permissions, so simply upgrading should fix the issue.
Workarounds
You could chmod the files yourself, I guess.
References
Advisory Timeline
- First published August 23, 2024 (825 days ago).
- Last revised August 26, 2024 — 3 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install request_store -v 1.4.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| request_store RubyGems · Affected: 1.3.2 | 1.4.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-276Incorrect Default PermissionsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.8 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2024-43791?
- request_store has Incorrect Default Permissions. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.8/10).
- How do I check if my project is affected by CVE-2024-43791?
- CVE-2024-43791 affects request_store. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-43791 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 13.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token