cbcvebase.
CVE-2018-1000156
published 2018-04-06

CVE-2018-1000156: GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can…

high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time.

Affected

61 ranges· showing 25
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
debianpatch< patch 2.7.6-5 (bookworm)patch 2.7.6-5 (bookworm)
debianpatch< patch 2.7.6-2 (bookworm)patch 2.7.6-2 (bookworm)
gnupatch
gnupatch>= 0 < 2.7.6-52.7.6-5
gnupatch>= 0 < 2.7.6-22.7.6-2
gnupatch>= 0 < 2.7.6-52.7.6-5
gnupatch>= 0 < 2.7.6-22.7.6-2
gnupatch>= 0 < 2.7.6-52.7.6-5
gnupatch>= 0 < 2.7.6-22.7.6-2
gnupatch>= 0 < 2.7.6-52.7.6-5
gnupatch>= 0 < 2.7.6-22.7.6-2
gnupatch>= 0 < 2.7.1-4ubuntu2.42.7.1-4ubuntu2.4
gnupatch>= 0 < 2.7.5-1ubuntu0.16.04.12.7.5-1ubuntu0.16.04.1
msrcazl3_patch_2.7.6-9_on_azure_linux_3.0
msrccbl2_patch_2.7.6-7_on_cbl_mariner_2.0
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64

CVSS provenance

nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH