Bug 1186622 - (CVE-2021-33196) VUL-0: CVE-2021-33196: go1.14,go1.15,go1.16: Malformed archive may cause panic or memory exhaustion
(CVE-2021-33196)
VUL-0: CVE-2021-33196: go1.14,go1.15,go1.16: Malformed archive may cause pani...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Major
: ---
Assigned To: Jeff Kowalczyk
Security Team bot
https://smash.suse.de/issue/300902/
CVSSv3.1:SUSE:CVE-2021-33196:7.5:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-28 15:11 UTC by Gianluca Gabrielli
Modified: 2021-08-09 13:17 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 Gianluca Gabrielli 2021-05-28 15:11:34 UTC
Due to a pre-allocation optimization in zip.NewReader, a malformed archive which indicates it has a significant number of files can cause either a panic or memory exhaustion.

References:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33912
https://github.com/golang/go/issues/46242

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1965503
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33196
Comment 1 Gianluca Gabrielli 2021-05-28 15:14:52 UTC
Affected packages:
 - SUSE:SLE-15:Update/go1.14       1.14.15
 - SUSE:SLE-15:Update/go1.15       1.15.10
 - SUSE:SLE-15:Update/go1.16       1.16.3
 - openSUSE:Factory/go1.14         1.14.15
 - openSUSE:Factory/go1.15         1.15.12
 - openSUSE:Factory/go1.16         1.16.4

Upstream patch go1.15 [0] and go1.16 [1].

[0] https://github.com/golang/go/commit/c92adf420a3d9a5510f9aea382d826f0c9216a10.patch
[1] https://github.com/golang/go/commit/895fb1bb6fc0d3c01c5ef7c8cbaf033d1fff9ad7.patch
Comment 2 OBSbugzilla Bot 2021-06-17 08:10:16 UTC
This is an autogenerated message for OBS integration:
This bug (1186622) was mentioned in
https://build.opensuse.org/request/show/900522 Factory / go1.16
https://build.opensuse.org/request/show/900523 Factory / go1.15
Comment 5 Swamp Workflow Management 2021-06-28 19:46:22 UTC
openSUSE-SU-2021:2186-1: An update that solves four vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1182345,1186622,1187443,1187444,1187445
CVE References: CVE-2021-33195,CVE-2021-33196,CVE-2021-33197,CVE-2021-33198
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    go1.16-1.16.5-1.17.1
Comment 6 Swamp Workflow Management 2021-06-28 19:53:30 UTC
SUSE-SU-2021:2186-1: An update that solves four vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1182345,1186622,1187443,1187444,1187445
CVE References: CVE-2021-33195,CVE-2021-33196,CVE-2021-33197,CVE-2021-33198
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    go1.16-1.16.5-1.17.1
SUSE Linux Enterprise Module for Development Tools 15-SP2 (src):    go1.16-1.16.5-1.17.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.
Comment 7 Swamp Workflow Management 2021-06-30 19:17:14 UTC
SUSE-SU-2021:2214-1: An update that solves four vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1175132,1186622,1187443,1187444,1187445
CVE References: CVE-2021-33195,CVE-2021-33196,CVE-2021-33197,CVE-2021-33198
JIRA References: 
Sources used:
SUSE Manager Server 4.0 (src):    go1.15-1.15.13-1.33.1
SUSE Manager Retail Branch Server 4.0 (src):    go1.15-1.15.13-1.33.1
SUSE Manager Proxy 4.0 (src):    go1.15-1.15.13-1.33.1
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    go1.15-1.15.13-1.33.1
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    go1.15-1.15.13-1.33.1
SUSE Linux Enterprise Server 15-SP1-BCL (src):    go1.15-1.15.13-1.33.1
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    go1.15-1.15.13-1.33.1
SUSE Linux Enterprise Module for Development Tools 15-SP2 (src):    go1.15-1.15.13-1.33.1
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    go1.15-1.15.13-1.33.1
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    go1.15-1.15.13-1.33.1
SUSE Enterprise Storage 6 (src):    go1.15-1.15.13-1.33.1
SUSE CaaS Platform 4.0 (src):    go1.15-1.15.13-1.33.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.
Comment 8 Swamp Workflow Management 2021-06-30 19:27:18 UTC
openSUSE-SU-2021:2214-1: An update that solves four vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1175132,1186622,1187443,1187444,1187445
CVE References: CVE-2021-33195,CVE-2021-33196,CVE-2021-33197,CVE-2021-33198
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    go1.15-1.15.13-1.33.1
Comment 9 Swamp Workflow Management 2021-07-01 16:18:42 UTC
openSUSE-SU-2021:0950-1: An update that solves four vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1175132,1186622,1187443,1187444,1187445
CVE References: CVE-2021-33195,CVE-2021-33196,CVE-2021-33197,CVE-2021-33198
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    go1.15-1.15.13-lp152.20.1
Comment 10 Marcus Meissner 2021-08-09 13:17:16 UTC
released