patch-2.7.1-12.el7
エラータID: AXSA:2019-4344:02
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.
CVE-2018-20969
do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.
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.
Update packages.
do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.
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.
N/A
SRPMS
- patch-2.7.1-12.el7.src.rpm
MD5: 941123dac97d0d3b71d507605d7fb9d2
SHA-256: 74b1fc46a743b01e2718f2e4d6d96ca3d2a79a7613207ce801f0aca25d5f34e3
Size: 685.64 kB
Asianux Server 7 for x86_64
- patch-2.7.1-12.el7.x86_64.rpm
MD5: 10baebb2fc133a8f50ba470d19084250
SHA-256: 1c0870a9387ee214b46caa988db3218d36f2dc66a36c77ab6562b9b0261c46e7
Size: 109.60 kB