CVE-2021-41771 Memory corruption in n/a
An out-of-bounds memory access in the Go debug/macho package can cause a crash when parsing malformed Mach-O files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-41771?
CVE-2021-41771 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 8 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-119
Which versions are affected by CVE-2021-41771?
2 open source packages ship an affected version, including golang and stdlib. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
golang Bitnami | All versions | 1.16.10, 1.17.3 |
stdlib Go | All versions | 1.16.10, 1.17.3 |
Products include Debian Debian Linux, Fedoraproject Fedora, Golang Go.
How do I fix CVE-2021-41771?
Upgrade golang to a fixed version for your release line: 1.16.10 or 1.17.3.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-41771 being exploited?
There is no known exploitation of CVE-2021-41771 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-6451, AZL-79102, AZL-98868, BIT-golang-2021-41771, DEBIAN-CVE-2021-41771, GHSA-g56w-5r6h-483w and 3 more.