CVE-2018-1000156
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-1000156
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-1000156.html
Vendor advisory: arch — https://security.archlinux.org/ASA-201810-8
Vendor advisory: arch — https://security.archlinux.org/ASA-201811-14
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 2.7.6-7 | |
| sles | affected | | |
| debian | bookworm | fixed | 2.7.6-2 |
| debian | bullseye | fixed | 2.7.6-2 |
| debian | forky | fixed | 2.7.6-2 |
| debian | sid | fixed | 2.7.6-2 |
| debian | trixie | fixed | 2.7.6-2 |
References
Verify integrity in audit chain (admin only). AS-IS.