CVE-2021-41772: Input Validation

Published Aug 30, 2021
·
Updated

A vulnerability was found in archive/zip of the Go standard library. Applications written in Go where Reader.Open (the API implementing io/fs.FS introduced in Go 1.16) can panic when parsing a crafted ZIP archive containing completely invalid names or an empty filename argument.

Other sources

Go before 1.16.10 and 1.17.x before 1.17.3 allows an archive/zip Reader.Open panic via a crafted ZIP archive containing an invalid name or an empty filename field.

Golang Go is vulnerable to a denial of service, caused by an out-of-bounds slice situation in the Reader.Open function. By using a specially-crafted ZIP archive containing an invalid name or an empty filename field, a remote attacker could exploit this vulnerability to cause a panic, and results in a denial of service condition.

IBM

Reader.Open (the API implementing io/fs.FS introduced in Go 1.16) can be made to panic by an attacker providing either a crafted ZIP archive containing completely invalid names or an empty filename argument.

Reference: https://github.com/golang/go/issues/48085

Red Hat

Affected Software

18 affected componentsFixes available
redhat/openshift-serverless-clients<0:1.1.0-2.el8
0:1.1.0-2.el8
redhat/go-toolset<1.16-0:1.16.12-1.el7_9
1.16-0:1.16.12-1.el7_9
redhat/go-toolset<1.16-golang-0:1.16.12-1.el7_9
1.16-golang-0:1.16.12-1.el7_9
redhat/openshift<0:4.10.0-202202250816.p0.ge419edf.assembly.stream.el8
0:4.10.0-202202250816.p0.ge419edf.assembly.stream.el8
redhat/openshift-clients<0:4.10.0-202202160023.p0.gf93da17.assembly.stream.el7
0:4.10.0-202202160023.p0.gf93da17.assembly.stream.el7
IBM Cloud Pak for Security<=1.10.0.0 - 1.10.11.0
IBM QRadar Suite Software<=1.10.12.0 - 1.10.16.0
Golang Go<1.16.10
Golang Go>=1.17.0<1.17.3
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Oracle TimesTen In-Memory Database
redhat/go<1.16.10
1.16.10
redhat/go<1.17.3
1.17.3
Microsoft azl3 python-tensorboard 2.16.2-2
Microsoft cm1 golang 1.16.10-1
Microsoft cbl2 golang 1.17.8-1
Microsoft azl3 python-tensorboard 2.11.0-3

Event History

Aug 30, 2021
CVE Published
12:00 AM
Nov 5, 2021
Data Sourced
via Red Hat·05:55 PM
DescriptionSeverityAffected Software
Nov 8, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Nov 11, 2021
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this vulnerability?

The vulnerability ID is CVE-2021-41772.

2

What is the severity of CVE-2021-41772?

The severity of CVE-2021-41772 is high (7.5).

3

Which versions of Go are affected by CVE-2021-41772?

Go versions before 1.16.10 and 1.17.x before 1.17.3 are affected by CVE-2021-41772.

4

How can applications written in Go be affected by CVE-2021-41772?

Applications written in Go, where Reader.Open (the API implementing io/fs.FS introduced in Go 1.16), can panic when parsing a crafted ZIP archive containing completely invalid names or an empty filename argument.

5

Are there any references available for CVE-2021-41772?

Yes, you can refer to the following links for more information on CVE-2021-41772: [link1](https://github.com/golang/go/issues/48085), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2020737), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2020739).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203