Bug 1190589 - (CVE-2021-39293) VUL-0: CVE-2021-39293: go1.15,go1.16,go1.17: archive/zip: overflow in preallocation check can cause OOM panic
(CVE-2021-39293)
VUL-0: CVE-2021-39293: go1.15,go1.16,go1.17: archive/zip: overflow in preallo...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Jeff Kowalczyk
Security Team bot
https://smash.suse.de/issue/310336/#p...
CVSSv3.1:SUSE:CVE-2021-39293:7.5:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-17 07:24 UTC by Jeff Kowalczyk
Modified: 2022-12-05 15:15 UTC (History)
2 users (show)

See Also:
Found By: ---
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 Jeff Kowalczyk 2021-09-17 07:24:01 UTC
An oversight in the fix for go#46242 CVE-2021-33196 still allows for an OOM panic when the indicated directory size in the archive header is so large that subtracting it from the archive size overflows a uint64, effectively bypassing the check that the number of files in the archive is reasonable. This is CVE-2021-39293.

References:

https://github.com/golang/go/issues/47801
Comment 1 OBSbugzilla Bot 2021-09-17 10:41:18 UTC
This is an autogenerated message for OBS integration:
This bug (1190589) was mentioned in
https://build.opensuse.org/request/show/919686 Factory / go1.16
Comment 3 OBSbugzilla Bot 2021-09-18 00:40:11 UTC
This is an autogenerated message for OBS integration:
This bug (1190589) was mentioned in
https://build.opensuse.org/request/show/919904 Factory / go1.16
Comment 7 Swamp Workflow Management 2021-10-06 19:41:35 UTC
openSUSE-SU-2021:3292-1: An update that solves one vulnerability and has one errata is now available.

Category: security (important)
Bug References: 1182345,1190589
CVE References: CVE-2021-39293
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    go1.16-1.16.8-1.26.1
Comment 8 Swamp Workflow Management 2021-10-06 20:07:58 UTC
SUSE-SU-2021:3292-1: An update that solves one vulnerability and has one errata is now available.

Category: security (important)
Bug References: 1182345,1190589
CVE References: CVE-2021-39293
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    go1.16-1.16.8-1.26.1
SUSE Linux Enterprise Module for Development Tools 15-SP2 (src):    go1.16-1.16.8-1.26.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 9 Swamp Workflow Management 2021-10-06 22:21:43 UTC
SUSE-RU-2021:3315-1: An update that solves one vulnerability and has one errata is now available.

Category: recommended (moderate)
Bug References: 1190589,1190649
CVE References: CVE-2021-39293
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    go1.17-1.17.1-1.3.1
SUSE Linux Enterprise Module for Development Tools 15-SP2 (src):    go1.17-1.17.1-1.3.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 10 Swamp Workflow Management 2021-10-06 22:22:56 UTC
openSUSE-RU-2021:3315-1: An update that solves one vulnerability and has one errata is now available.

Category: recommended (moderate)
Bug References: 1190589,1190649
CVE References: CVE-2021-39293
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    go1.17-1.17.1-1.3.1
Comment 11 Swamp Workflow Management 2021-10-11 19:22:06 UTC
openSUSE-SU-2021:1342-1: An update that solves one vulnerability and has one errata is now available.

Category: security (important)
Bug References: 1182345,1190589
CVE References: CVE-2021-39293
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    go1.16-1.16.8-lp152.11.1
Comment 14 Marcus Meissner 2022-12-05 15:15:50 UTC
done