Upstream information

CVE-2018-1000156 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  SUSE
Base Score 7.8
Vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Access Vector Local
Access Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
SUSE Bugzilla entries: 1088420 [REOPENED], 1093615 [RESOLVED / FIXED], 1101128 [REOPENED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Desktop 12 SP3
  • patch >= 2.7.5-8.5.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP3-2018-777
SUSE Linux Enterprise Module for Development Tools 15
  • patch >= 2.7.6-3.5
Patchnames:
SUSE Linux Enterprise Module for Development Tools 15 GA patch
SUSE Linux Enterprise Point of Sale 11 SP3
  • patch >= 2.5.9-252.22.7.1
Patchnames:
sleposp3-patch-13589
SUSE Linux Enterprise Server 11 SP3-LTSS
  • patch >= 2.5.9-252.22.7.1
Patchnames:
slessp3-patch-13589
SUSE Linux Enterprise Server 11 SP4
  • patch >= 2.5.9-252.22.7.1
Patchnames:
slessp4-patch-13589
SUSE Linux Enterprise Server 12 SP3
  • patch >= 2.7.5-8.5.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2018-777
SUSE Linux Enterprise Server for SAP Applications 11 SP3-LTSS
  • patch >= 2.5.9-252.22.7.1
Patchnames:
slessp3-patch-13589
SUSE Linux Enterprise Server for SAP Applications 11 SP4
  • patch >= 2.5.9-252.22.7.1
Patchnames:
slessp4-patch-13589
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • patch >= 2.7.5-8.5.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2018-777
openSUSE Leap 42.3
  • patch >= 2.7.5-9.3.1
  • patch-debuginfo >= 2.7.5-9.3.1
  • patch-debugsource >= 2.7.5-9.3.1
Patchnames:
openSUSE-2018-416


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise Desktop 12 SP2 patch Unsupported
SUSE Linux Enterprise Desktop 12 SP3 patch Released
SUSE Linux Enterprise Server 11 SP3 LTSS patch Affected
SUSE Linux Enterprise Server 11 SP4 patch Affected
SUSE Linux Enterprise Server 12 GA LTSS patch Affected
SUSE Linux Enterprise Server 12 SP1 LTSS patch Affected
SUSE Linux Enterprise Server 12 SP2 patch Unsupported
SUSE Linux Enterprise Server 12 SP3 patch Released