Live threats

All CVEs / Github

CVE-2014-0177Github Hub

Low 3.6

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hub.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
githubhub≤ 1.12.0

Official sources

References

Links published by the sources. Open them with care.