Skip to content
OpenAdvisories
High · 7.8 CVE-2015-3649 EUVD-2022-3027GHSA-7m2w-9gw7-c3xp

open-uri-cached Gem for Ruby Unsafe Temporary File Creation Enables Code Execution

Published Aug 18, 2017 · Updated Aug 6, 2024 · Assigned by mitre

Description

The open-uri-cached rubygem allows local users to execute arbitrary Ruby code by creating a directory under /tmp containing "openuri-" followed by a crafted UID, and putting Ruby code in said directory once a meta file is created.

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems open-uri-cached <= 1.0.0 — GHSA-7m2w-9gw7-c3xp

References