GitHub Advisory Database
GHSA-6x45-86q6-rcmr
Gyazo allows local users to write arbitrary files
Details
lib/gyazo/client.rb in the gyazo gem 1.0.0 for Ruby allows local users to write to arbitrary files via a symlink attack on a temporary file, related to time-based filenames.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | gyazo | From 1.0.0 before 2.0.0 (fixed in 2.0.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-4994
- https://github.com/gyazo/gyazo-ruby
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/gyazo/CVE-2014-4994.yml
- https://web.archive.org/web/20200229061943/http://www.vapid.dhs.org/advisories/gyazo-1.0.0.html
- http://www.openwall.com/lists/oss-security/2014/07/07/13
- http://www.openwall.com/lists/oss-security/2014/07/17/5