CVE-2015-3649
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.39% probability · 32th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- open-uri-cached project/open-uri-cached
- Source
- cve@mitre.org
References
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2015/05/06/2Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/74469Third Party Advisory, VDB Entry
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L115Third Party Advisory
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L25Third Party Advisory
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L39Third Party Advisory
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2015/05/06/2Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/74469Third Party Advisory, VDB Entry
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L115Third Party Advisory
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L25Third Party Advisory
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L39Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.