Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXg1bTYtamg0ci0zNG12
Hub Package Arbitrary File Overwrite
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXg1bTYtamg0ci0zNG12
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: 6 months ago
CVSS Score: 4.4
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Identifiers: GHSA-x5m6-jh4r-34mv, CVE-2014-0177
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/releases/tag/v1.12.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hub/CVE-2014-0177.yml
- https://github.com/advisories/GHSA-x5m6-jh4r-34mv
Blast Radius: 23.0
Affected Packages
rubygems:hub
Dependent packages: 21Dependent repositories: 3,187
Downloads: 666,911 total
Affected Version Ranges: < 1.12.1
Fixed in: 1.12.1
All affected versions: 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.10.6, 1.11.0, 1.11.1, 1.11.2, 1.12.0
All unaffected versions: 1.12.2, 1.12.3, 1.12.4
go:github.com/github/hub
Dependent packages: 24Dependent repositories: 53
Downloads:
Affected Version Ranges: < 1.12.1
Fixed in: 1.12.1
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.10.6, 1.11.0, 1.11.1, 1.11.2, 1.12.0
All unaffected versions: 1.12.1, 1.12.2, 1.12.3, 1.12.4, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.3.0, 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.7.0, 2.7.1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0, 2.10.0, 2.10.1, 2.10.2, 2.11.0, 2.11.1, 2.11.2