{"schemaVersion":3,"id":"CVE-2014-0177","aliases":["UBUNTU-CVE-2014-0177","GHSA-x5m6-jh4r-34mv"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2014-05-27T15:00:00.000Z","modified":"2024-08-06T09:05:39.205Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.6,"severity":"low","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.6,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":4.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":4.6,"impact":4.2,"computed":true}]},"epss":{"probability":0.00387,"percentile":0.31312,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00387},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00387,"percentile":0.31312}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00387,"percentile":0.31312}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_GITHUB_HUB","name":"Hub","source":"github","url":"https://github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-310","name":"Cryptographic Issues","description":"Weaknesses in this category are related to the design and implementation of data confidentiality and integrity. Frequently these deal with the use of encoding techniques, encryption libraries, and hashing algorithms. The weaknesses in this category could lead to a degradation of the quality data if they are not addressed.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/310.html"}],"affected":[{"vendor":"ubuntu","product":"nodejs","name":"nodejs","label":"nodejs","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nodejs","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"hub","name":"hub","label":"hub","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/hub","purlType":"gem","versions":[{"text":"< 1.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.1","eol":null,"hubHref":null},{"vendor":"github","product":"hub","name":"hub","label":"hub","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.12.0","eol":null,"hubHref":"/vendor/github/hub"},{"vendor":"github.com/github","product":"hub","name":"github.com/github/hub","label":"hub","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/github/hub","purlType":"golang","versions":[{"text":"< 1.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://secunia.com/advisories/58273","label":"secunia.com/advisories/58273","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","URL Repurposed"]},{"url":"https://github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600","label":"github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","Patch","WEB"]},{"url":"https://ubuntu.com/security/CVE-2014-0177","label":"ubuntu.com/security/CVE-2014-0177","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2014/05/16","label":"www.openwall.com/lists/oss-security/2014/05/16","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-0177","label":"www.cve.org/CVERecord?id=CVE-2014-0177","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0177","label":"nvd.nist.gov/vuln/detail/CVE-2014-0177","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mislav/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600","label":"github.com/mislav/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/mislav/hub","label":"github.com/mislav/hub","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/mislav/hub/releases/tag/v1.12.1","label":"github.com/mislav/hub/releases/tag/v1.12.1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hub/CVE-2014-0177.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/hub/CVE-2014-0177.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2014-05-27T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T09:05:39.205Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:16:21.549Z","stale":false,"partial":false}}