patch: The patch program applies diff files to originals
CVE-2018-20969 is fixed in patch on 1 platform, first by patch 2.7.6-2ubuntu1.1, released August 15, 2019. It is not reported as exploited. Patch Radar priority: High.
The patch program applies diff files to originals. The diff command is used to compare an original to a changed file. Diff lists the changes made to the file. A person who has the original file can then use the patch command with the diff file to add the changes to their original file (patching the file). Security Fix(es): * patch: do_ed_script in pch.c does not block strings beginning with a ! character (CVE-2018-20969) * patch: OS shell command injection when processing crafted patch files (CVE-2019-13638) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| patch · RHEL 8 | 0:2.7.6-9.el8_0 | RHSA-2019:2798 | Sep 19, 2019 |
| patch · Ubuntu 18.04.6 LTS (bionic) | 2.7.6-2ubuntu1.1 | patch 2.7.6-2ubuntu1.1 | Aug 15, 2019 |
| patch · ol 8 | 0:2.7.6-9.el8_0 | ELSA-2019-2798 | Sep 19, 2019 |