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.
http://secunia.com/advisories/58273
Source: Mitre, NVD
Published: 2014-05-27
Updated: 2023-06-06
Base Score: 3.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:P
Severity: Low
Base Score: 5.1
Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Severity: Medium