ADVISORIES

GitHub Advisory Database

GHSA-x5m6-jh4r-34mv

Hub Package Arbitrary File Overwrite

Moderate CVE-2014-0177

Details

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 packages

EcosystemPackageAffected versions
Gogithub.com/github/hub
All versions before 1.12.1 (fixed in 1.12.1)
RubyGemshub
All versions before 1.12.1 (fixed in 1.12.1)

References