In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files. This affects inp.c and util.c.
packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
git.savannah.gnu.org/cgit/patch.git/commit/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a
github.com/irsl/gnu-patch-vulnerabilities
lists.debian.org/debian-lts-announce/2019/07/msg00016.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT/
seclists.org/bugtraq/2019/Aug/29
seclists.org/bugtraq/2019/Jul/54
security.gentoo.org/glsa/201908-22
security.netapp.com/advisory/ntap-20190828-0001/
usn.ubuntu.com/4071-1/
usn.ubuntu.com/4071-2/
www.debian.org/security/2019/dsa-4489