GHSA-x5m6-jh4r-34mv
Dashboard / Vulnerabilities / GHSA-x5m6-jh4r-34mv
Summary: Hub Package Arbitrary File Overwrite
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2014-0177, https://github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600, https://github.com/mislav/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600, https://github.com/mislav/hub, https://github.com/mislav/hub/releases/tag/v1.12.1, https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hub/CVE-2014-0177.yml
Affected packages
Package
Name: github.com/github/hub
Purl: pkg:golang/github.com/github/hub
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.12.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
