Loading...
Skip to main content

CVE-2024-43791 — Vulnerability in request_store — CVE Details

MEDIUM

request_store has Incorrect Default Permissions

Published August 23, 2024Updated August 26, 2024Source: osv

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 https://cwe.mitre.org/data/definitions/276.html

Advisory Timeline

  • First published August 23, 2024 (780 days ago).
  • Last revised August 26, 2024 — 3 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update request_store to 1.4.0 or later
gem install request_store -v 1.4.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
request_store
rubygems
1.3.21.4.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-276
    Incorrect Default PermissionsMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.8 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-43791 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-frp2-5qfc-7r8m

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies