Bug 1087026 (CVE-2018-1083) - VUL-0: CVE-2018-1083 zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c
Summary: VUL-0: CVE-2018-1083 zsh: Stack-based buffer overflow in gen_matches_files() ...
Status: RESOLVED FIXED
Alias: CVE-2018-1083
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Paolo Perego
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/202682/
Whiteboard: CVSSv3:SUSE:CVE-2018-1083:7.5:(AV:L/A...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 08:13 UTC by Karol Babioch
Modified: 2024-05-23 19:35 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karol Babioch 2018-03-27 08:13:15 UTC
rh#1557382

zsh is vulnerable to a stack-based buffer overflow in the gen_matches_files() function. A local attacker could exploit this through tab completion of directories with long names leading to arbitrary code execution.

Upstream fix:
https://sourceforge.net/p/zsh/code/ci/259ac472eac291c8c103c7a0d8a4eaf3c2942ed7

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1557382
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-1083
http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-1083.html
Comment 1 Karol Babioch 2018-03-27 08:41:03 UTC
Not affected:
 	SUSE:SLE-10-SP3:Update

Affected:
	SUSE:SLE-11:Update
	SUSE:SLE-12:Update
Comment 4 Swamp Workflow Management 2018-04-25 16:08:57 UTC
SUSE-SU-2018:1072-1: An update that solves 9 vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1082885,1082975,1082977,1082991,1082998,1083002,1083250,1084656,1087026,896914
CVE References: CVE-2014-10070,CVE-2014-10071,CVE-2014-10072,CVE-2016-10714,CVE-2017-18205,CVE-2017-18206,CVE-2018-1071,CVE-2018-1083,CVE-2018-7549
Sources used:
SUSE Linux Enterprise Server 12-SP3 (src):    zsh-5.0.5-6.7.2
SUSE Linux Enterprise Desktop 12-SP3 (src):    zsh-5.0.5-6.7.2
Comment 5 Swamp Workflow Management 2018-04-26 22:08:34 UTC
openSUSE-SU-2018:1093-1: An update that solves 9 vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1082885,1082975,1082977,1082991,1082998,1083002,1083250,1084656,1087026,896914
CVE References: CVE-2014-10070,CVE-2014-10071,CVE-2014-10072,CVE-2016-10714,CVE-2017-18205,CVE-2017-18206,CVE-2018-1071,CVE-2018-1083,CVE-2018-7549
Sources used:
openSUSE Leap 42.3 (src):    zsh-5.0.5-9.3.1
Comment 8 Swamp Workflow Management 2018-07-03 22:11:32 UTC
SUSE-SU-2018:1874-1: An update that fixes three vulnerabilities is now available.

Category: security (moderate)
Bug References: 1084656,1087026,1089030
CVE References: CVE-2018-1071,CVE-2018-1083,CVE-2018-1100
Sources used:
SUSE Linux Enterprise Module for Basesystem 15 (src):    zsh-5.5-3.3.15
Comment 10 Swamp Workflow Management 2018-07-05 22:08:12 UTC
openSUSE-SU-2018:1893-1: An update that fixes three vulnerabilities is now available.

Category: security (moderate)
Bug References: 1084656,1087026,1089030
CVE References: CVE-2018-1071,CVE-2018-1083,CVE-2018-1100
Sources used:
openSUSE Leap 15.0 (src):    zsh-5.5-lp150.2.3.1
Comment 11 Swamp Workflow Management 2018-10-02 10:08:40 UTC
openSUSE-SU-2018:2966-1: An update that solves 5 vulnerabilities and has four fixes is now available.

Category: security (important)
Bug References: 1019130,1084656,1087026,1089030,1107294,1107296,900424,934175,998858
CVE References: CVE-2018-0502,CVE-2018-1071,CVE-2018-1083,CVE-2018-1100,CVE-2018-13259
Sources used:
openSUSE Leap 42.3 (src):    zsh-5.6.2-9.6.1
Comment 15 Swamp Workflow Management 2022-03-14 20:20:19 UTC
SUSE-SU-2022:14910-1: An update that fixes 12 vulnerabilities is now available.

Category: security (important)
Bug References: 1082885,1082975,1082977,1082991,1082998,1083002,1083250,1084656,1087026,1107294,1107296,1163882
CVE References: CVE-2014-10070,CVE-2014-10071,CVE-2014-10072,CVE-2016-10714,CVE-2017-18205,CVE-2017-18206,CVE-2018-0502,CVE-2018-1071,CVE-2018-1083,CVE-2018-13259,CVE-2018-7549,CVE-2019-20044
JIRA References: 
Sources used:
SUSE Linux Enterprise Server 11-SP4-LTSS (src):    zsh-4.3.6-67.9.8.1
SUSE Linux Enterprise Point of Sale 11-SP3 (src):    zsh-4.3.6-67.9.8.1
SUSE Linux Enterprise Debuginfo 11-SP4 (src):    zsh-4.3.6-67.9.8.1
SUSE Linux Enterprise Debuginfo 11-SP3 (src):    zsh-4.3.6-67.9.8.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.