CVE-2014-0177
LOW 3.6CVSS 2.0Hub Package Arbitrary File Overwrite
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.
- Published
- 27 May 2014
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-310CWE-377
- Also known as
- GHSA-x5m6-jh4r-34mv
- Sources
- NVDJSONOSV GHSA-x5m6-jh4r-34mvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.6 | AV:L/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | github | hubcpe:2.3:a:github:hub:*:*:*:*:*:*:*:* |
<= 1.12.0 | |
| OSV | Go | github.com/github/hub | < 1.12.1 | 1.12.1 |
| OSV | RubyGems | hub | < 1.12.1 | 1.12.1 |
References
- http://secunia.com/advisories/58273 · URL Repurposed
- https://github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600 · Exploit, Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-0177 · ADVISORY
- https://github.com/mislav/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600 · WEB
- https://github.com/mislav/hub · PACKAGE
- https://github.com/mislav/hub/releases/tag/v1.12.1 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hub/CVE-2014-0177.yml · WEB
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 27 May 2014)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Feb 2022)