GHSA-x5m6-jh4r-34mvMediumCVSS 4.4
Hub Package Arbitrary File Overwrite
🔗 CVE IDs covered (1)
📋 Description
The am function in lib/hub/commands.rb in hub before 1.12.1 allows local users to overwrite arbitrary files via a symlink attack on a temporary patch file.
🎯 Affected products2
- go/github.com/github/hub:< 1.12.1
- rubygems/hub:< 1.12.1
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2014-0177
- https://github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600
- https://github.com/mislav/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600
- https://github.com/mislav/hub/releases/tag/v1.12.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hub/CVE-2014-0177.yml
- https://github.com/advisories/GHSA-x5m6-jh4r-34mv