GHSA-7m2w-9gw7-c3xp

Suggest an improvement
Source
https://github.com/advisories/GHSA-7m2w-9gw7-c3xp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7m2w-9gw7-c3xp/GHSA-7m2w-9gw7-c3xp.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7m2w-9gw7-c3xp
Aliases
  • CVE-2015-3649
Published
2022-05-13T01:13:48Z
Modified
2024-02-20T05:25:07.970730Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
open-uri-cached Gem for Ruby Unsafe Temporary File Creation Enables Code Execution
Details

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.

Database specific
{
    "nvd_published_at": "2017-08-18T16:29:00Z",
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-09T23:05:43Z"
}
References

Affected packages

RubyGems / open-uri-cached

Package

Name
open-uri-cached
Purl
pkg:gem/open-uri-cached

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.0

Affected versions

0.*

0.0.1
0.0.3
0.0.4
0.0.5

1.*

1.0.0