CVE-2021-41771: Buffer Overflow

Published Oct 14, 2021
·
Updated

An out of bounds read vulnerability was found in debug/macho of the Go standard library. When using the debug/macho standard library (stdlib) and malformed binaries are parsed using Open or OpenFat, it can cause golang to attempt to read outside of a slice (array) causing a panic when calling ImportedSymbols. An attacker can use this vulnerability to craft a file which causes an application using this library to crash resulting in a denial of service.

Other sources

Golang Go is vulnerable to a denial of service, caused by an out-of-bounds slice situation in the ImportedSymbols function in debug/macho. By using specially-crafted binaries, a remote attacker could exploit this vulnerability to cause a panic, and results in a denial of service condition.

IBM

ImportedSymbols in debug/macho (for Open or OpenFat) in Go before 1.16.10 and 1.17.x before 1.17.3 Accesses a Memory Location After the End of a Buffer, aka an out-of-bounds slice situation.

Malformed binaries parsed using Open or OpenFat can cause a panic when calling ImportedSymbols, due to an out-of-bounds slice operation.

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

Red Hat

Affected Software

10 affected componentsFixes available
redhat/openshift-serverless-clients<0:1.1.0-2.el8
0:1.1.0-2.el8
redhat/go<1.16.10
1.16.10
redhat/go<1.17.3
1.17.3
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
Debian Debian Linux=9.0

Event History

Oct 14, 2021
CVE Published
12:00 AM
Nov 5, 2021
Data Sourced
via Red Hat·05:49 PM
DescriptionSeverityAffected Software
Nov 8, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

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 for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2021-41771.

2

What is the severity level of CVE-2021-41771?

The severity level of CVE-2021-41771 is high.

3

Which software versions are affected by CVE-2021-41771?

Software versions before 1.16.10 and 1.17.x before 1.17.3 of Go are affected by CVE-2021-41771.

4

How can I fix CVE-2021-41771?

To fix CVE-2021-41771, update to version 1.16.10 or later for Go 1.16 and update to version 1.17.3 or later for Go 1.17.

5

Are there any references for CVE-2021-41771?

Yes, you can find references for CVE-2021-41771 at the following links: [Link 1](https://github.com/golang/go/issues/48990), [Link 2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2020726), [Link 3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2020728).

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