CVE-2018-20969

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.

High
CVSS
7.8
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0268
85th percentile

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

ProductFixed inFixReleased
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