Skip to content
OpenAdvisories
High · 7.8 CVE-2024-43791 EUVD-2024-2578GHSA-frp2-5qfc-7r8m

RequestStore has Incorrect Default Permissions

Published Aug 23, 2024 · Updated Aug 23, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
steveklabnik request_store = 1.3.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 ruby-request-store No fix yet —
Ubuntu 26.04 LTS ruby-request-store No fix yet —
Ubuntu 25.10 ruby-request-store No fix yet —
Ubuntu 24.04 LTS ruby-request-store No fix yet —
Ubuntu 22.04 LTS ruby-request-store No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ruby-request-store No fix yet —
Ubuntu 18.04 LTS ruby-request-store No fix yet —
Ubuntu 16.04 LTS ruby-request-store No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems request_store >= 1.3.2, < 1.4.0 1.4.0 GHSA-frp2-5qfc-7r8m

References