CVE-2018-1000156
patch - security update
7.8
HIGH
CVSS 3.1
EPSS 36.8%
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.
How to fix CVE-2018-1000156
To remediate CVE-2018-1000156, upgrade the affected package to a fixed version below.
- —upgrade to 2.7.6-r6 or later
- —upgrade to 2.7.6-2 or later
- —upgrade to 2.6.1-3+deb7u1 or later
Is CVE-2018-1000156 being exploited?
Moderate — EPSS is 36.8%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (3)
- from 0, < 2.7.6-r6
- from 0, < 2.7.6-2
- from 0, < 2.6.1-3+deb7u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |