GHSA-8mvw-22r7-w6fq

Suggest an improvement
Source
https://github.com/advisories/GHSA-8mvw-22r7-w6fq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8mvw-22r7-w6fq/GHSA-8mvw-22r7-w6fq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8mvw-22r7-w6fq
Aliases
  • CVE-2013-0162
Published
2022-05-05T02:48:30Z
Modified
2024-11-29T05:40:03.993107Z
Summary
ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name
Details

The diff_pp function in lib/gauntlet_rubyparser.rb in the ruby_parser gem 3.1.1 and earlier for Ruby allows local users to overwrite arbitrary files via a symlink attack on a temporary file with a predictable name in /tmp.

Database specific
{
    "nvd_published_at": "2013-03-01T05:40:00Z",
    "cwe_ids": [
        "CWE-377"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-08T19:28:01Z"
}
References

Affected packages

RubyGems / ruby_parser

Package

Name
ruby_parser
Purl
pkg:gem/ruby_parser

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.2
Fixed
3.1.2

Affected versions

2.*

2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.2.0
2.3.0
2.3.1

3.*

3.0.0.a1
3.0.0.a2
3.0.0.a3
3.0.0.a4
3.0.0.a5
3.0.0.a6
3.0.0.a7
3.0.0.a8
3.0.0.a9
3.0.0.a10
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.1.0
3.1.1