GitHub Advisoryadvisory · RubyGems

GHSA-7m2w-9gw7-c3xp open-uri-cached Gem for Ruby Unsafe Temporary File Creation Enables Code Execution

HIGH Published 2022-05-13 Modified 2023-07-03 Official page ↗
Aliases
CVE-2015-3649
Ecosystem
RubyGems
Packages
open-uri-cached
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-20
Reviewed
2023-06-09

Affected packages

• RubyGems open-uri-cached: <= 1.0.0 (no fix yet)

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 metafile is created.

Related

Alias · CVE (1)

  • CVE-2015-3649 The open-uri-cached rubygem allows local users to execute arbitrary Ruby code by creating a directory under /tmp containing "openuri-"… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References