CVE-2014-0177Github Hub
Low 3.6
Follow: this CVE · Github · Github Hub We alert you by email or Slack (account required).
- Priority
- 22
- CVSS 2.0
- 3.6
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 24
- Auth required
- Yes
- Published
- May 27, 2014
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-310
- Vector
AV:L/AC:L/Au:N/C:N/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Hub.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/github/hub |
< 1.12.1 |
1.12.1 |
go get github.com/github/hub@v1.12.1 |
| RubyGems | hub |
< 1.12.1 |
1.12.1 |
gem "hub", ">= 1.12.1" |
Per OSV / GitHub Advisories (GHSA-x5m6-jh4r-34mv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| github | hub | ≤ 1.12.0 |
Official sources
References
Links published by the sources. Open them with care.
- secunia.com URL Repurposed
- github.com Exploit Patch