Vulnerability CVE-2018-1000156


Published: 2018-04-06

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.

Type:

CWE-20

(Improper Input Validation)

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.8/10
6.4/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Redhat -> Enterprise linux desktop 
Redhat -> Enterprise linux server 
Redhat -> Enterprise linux workstation 
Redhat -> Enterprise linux server aus 
Redhat -> Enterprise linux server eus 
Redhat -> Enterprise linux server tus 
GNU -> Patch 
Debian -> Debian linux 
Canonical -> Ubuntu linux 

 References:
http://rachelbythebay.com/w/2018/04/05/bangpatch/
https://access.redhat.com/errata/RHSA-2018:1199
https://access.redhat.com/errata/RHSA-2018:1200
https://access.redhat.com/errata/RHSA-2018:2091
https://access.redhat.com/errata/RHSA-2018:2092
https://access.redhat.com/errata/RHSA-2018:2093
https://access.redhat.com/errata/RHSA-2018:2094
https://access.redhat.com/errata/RHSA-2018:2095
https://access.redhat.com/errata/RHSA-2018:2096
https://access.redhat.com/errata/RHSA-2018:2097
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667#19
https://lists.debian.org/debian-lts-announce/2018/04/msg00013.html
https://savannah.gnu.org/bugs/index.php?53566
https://seclists.org/bugtraq/2019/Jul/54
https://security.gentoo.org/glsa/201904-17
https://twitter.com/kurtseifried/status/982028968877436928
https://usn.ubuntu.com/3624-1/
https://usn.ubuntu.com/3624-2/

Copyright 2024, cxsecurity.com

 

Back to Top