tools/patch: apply upstream patch for cve-2019-13638
authorRussell Senior <russell@personaltelco.net>
Sun, 11 Aug 2019 20:57:08 +0000 (13:57 -0700)
committerPetr Štetiar <ynezz@true.cz>
Tue, 13 Aug 2019 08:00:10 +0000 (10:00 +0200)
commitbcfd1d76852974170780dbe368e6194dbb0e123e
tree2f02cd5495342cbc1c9d304bc11a294f301e8e41
parent166e626277010a28d01c00217aeb6a99d0bb351f
tools/patch: apply upstream patch for cve-2019-13638

GNU patch through 2.7.6 is vulnerable to OS shell command injection that
can be exploited by opening a crafted patch file that contains an ed style

diff payload with shell metacharacters. The ed editor does not need to be
present on the vulnerable system. This is different from CVE-2018-1000156.

https://nvd.nist.gov/vuln/detail/CVE-2019-13638

Signed-off-by: Russell Senior <russell@personaltelco.net>
tools/patch/Makefile
tools/patch/patches/060-CVE-2019-13638.patch [new file with mode: 0644]