Skip to content
Fencer Intel
medium 4.4

CVE-2014-0177 json

Hub Package Arbitrary File Overwrite

published 2014-05-27 12 y ago modified 2026-06-17 4 mo ago also GHSA-x5m6-jh4r-34mv , EUVD-2022-1248

cvss
4.4
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 33%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/github/hub 1.12.1
  • rubygems hub 1.12.1

Exploit prediction

0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 3.6 AV:L/AC:L/Au:N/C:N/I:P/A:P
GitHub 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Affected packages

ecosystem package affected fixed in
go github.com/github/hub
<1.12.1
1.12.1
rubygems hub
<1.12.1
1.12.1

Classification

Weakness
  • CWE-310 Cryptographic Issues
  • CWE-377 DEPRECATED: Insecure Temporary File

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.