niedrig2.1
CVE-2013-0162
ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name
Auswirkung
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`.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rubygems | ruby_parser | >= 2.0.2, < 3.1.2 | 3.1.2 |
Betroffene Produkte · Ryan Davis
| Produkt | Betroffene Versionen |
|---|---|
| Ruby Parser | bis einschließlich 3.1.1 Versionen 1.0.0, 2.0.0, 2.0.1, 2.0.2, 2.0.3 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0544.html
- http://rhn.redhat.com/errata/RHSA-2013-0548.html
- https://bugzilla.redhat.com/show_bug.cgi?id=892806
- https://github.com/advisories/GHSA-8mvw-22r7-w6fq
- https://nvd.nist.gov/vuln/detail/CVE-2013-0162
- https://github.com/seattlerb/ruby_parser/commit/506c7e13cff6f8715385fa8488b621028b4ad280
- https://github.com/seattlerb/ruby_parser/commit/c35acd878d50a8e4ea35933e3fbdc493421d422c
- https://access.redhat.com/errata/RHSA-2013:0544
- https://access.redhat.com/errata/RHSA-2013:0582
- https://access.redhat.com/security/cve/CVE-2013-0162
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby_parser/CVE-2013-0162.yml