CVE-2015-3649
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- open-uri-cached Project open-uri-cached 0.0.5
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-3649.md and follow it. Check whether this project is affected by CVE-2015-3649. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/
- http://www.openwall.com/lists/oss-security/2015/05/06/2
- http://www.securityfocus.com/bid/74469
- 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
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L39
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/
- http://www.openwall.com/lists/oss-security/2015/05/06/2
- http://www.securityfocus.com/bid/74469
- 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
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L39