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.
{ "nvd_published_at": "2014-05-27T14:55:10Z", "cwe_ids": [ "CWE-377" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2021-05-20T20:32:04Z" }