ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name
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`.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2013-0162US | low2.1 | — | ||
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 tempo… | ||||
02
references
External citations — patches, advisories, analysis.
- http://rhn.redhat.com/errata/RHSA-2013-0544.htmlWEB
- http://rhn.redhat.com/errata/RHSA-2013-0548.htmlWEB
- https://access.redhat.com/errata/RHSA-2013:0544WEB
- https://access.redhat.com/errata/RHSA-2013:0582WEB
- https://access.redhat.com/security/cve/CVE-2013-0162WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=892806WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby_parser/CVE-2013-0162.ymlWEB
- https://github.com/seattlerb/ruby_parserPACKAGE
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan