{"id":"CVE-2014-0177","aliases":["EUVD-2022-1248","GHSA-x5m6-jh4r-34mv","UBUNTU-CVE-2014-0177","openSUSE-SU-2024:10501-1"],"status":"published","title":"Hub Package Arbitrary File Overwrite","description":"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.","severity":{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00387,"percentile":0.33016,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-310","CWE-377"],"published":"2014-05-27T14:55:00Z","modified":"2026-06-17T00:02:26Z","fixes":[{"ecosystem":"Go","package":"github.com/github/hub","fixed_in":["1.12.1"],"sources":["ghsa","osv"]},{"ecosystem":"RubyGems","package":"hub","fixed_in":["1.12.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/github/hub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.1"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"hub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/github/hub","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.12.1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"hub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.1"}]}],"versions":["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","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"]}],"products":[{"vendor":"github","product":"hub"}],"references":[{"url":"http://secunia.com/advisories/58273","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","URL Repurposed"]},{"url":"https://github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0177","tags":["advisory"]},{"url":"https://github.com/mislav/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600","tags":["web"]},{"url":"https://github.com/mislav/hub/releases/tag/v1.12.1","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hub/CVE-2014-0177.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x5m6-jh4r-34mv"},{"url":"https://github.com/mislav/hub","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2014-0177","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2014/05/16","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-0177","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2014-0177","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2014-0177","description":"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.","status":"published","published":"2014-05-27T15:00:00Z","modified":"2024-08-06T09:05:39.205Z","updated_at":"2026-11-02T14:33:47.741012Z"}],"euvd":[{"id":"EUVD-2022-1248","description":"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.","status":"published","published":"2014-05-27T15:00:00Z","modified":"2024-08-06T09:05:39Z","updated_at":"2026-11-03T01:57:22.035163Z"}],"ghsa":[{"id":"GHSA-x5m6-jh4r-34mv","title":"Hub Package Arbitrary File Overwrite","description":"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.","status":"published","published":"2022-02-15T01:07:53Z","modified":"2023-11-08T05:04:10Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T14:37:16.721714Z"}],"nvd":[{"id":"CVE-2014-0177","description":"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.","status":"published","published":"2014-05-27T14:55:10.54Z","modified":"2026-06-17T00:02:26.653Z","cvss":[{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-310"],"updated_at":"2026-11-02T14:02:54.464139Z"}],"osv":[{"id":"GHSA-x5m6-jh4r-34mv","title":"Hub Package Arbitrary File Overwrite","description":"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.","status":"published","published":"2022-02-15T01:07:53Z","modified":"2024-02-16T08:03:34.350985Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"openSUSE-SU-2024:10501-1","title":"ruby2.2-rubygem-hub-1.12.4-2.1 on GA media","description":"These are all security issues fixed in the ruby2.2-rubygem-hub-1.12.4-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:17:48.220369Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"UBUNTU-CVE-2014-0177","description":"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.","status":"withdrawn","published":"2014-05-27T14:55:00Z","modified":"2025-07-08T14:32:16.208497Z","updated_at":"2026-11-02T15:54:07.855521Z"}]}}
