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>
Wed, 14 Aug 2019 05:29:32 +0000 (07:29 +0200)
commit46e9a9b04e4f42772cac056453a77937a2b6a40c
tree65f766ff74426c3d25a12ac638f22d1953e935ba
parent61e51473c237db7a10c35a3da5a4eb492fa72a90
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>
(cherry picked from commit bcfd1d76852974170780dbe368e6194dbb0e123e)
tools/patch/Makefile
tools/patch/patches/060-CVE-2019-13638.patch [new file with mode: 0644]