cve.bz

CVE-2021-20284 Out-of-bounds Write

5.5 mediumExploit referenceEPSS 1.3%

Medium (5.5). EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in GNU Binutils 2.35.1, where there is a heap-based buffer overflow in _bfd_elf_slurp_secondary_reloc_section in elf.c due to the number of symbols not calculated correctly. The highest threat from this vulnerability is to system availability.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-20284 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20284?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20284?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20284 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:binutils2.35.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14binutils2.37-3DEBIAN-CVE-2021-20284
Red Hatenterprise_linux:8::appstreambinutils-devel, binutils-debuginfo, binutils-debugsource0:2.30-108.el8RHSA-2021:4364
Red Hatenterprise_linux:8::baseosbinutils, binutils-debuginfo, binutils-debugsource0:2.30-108.el8RHSA-2021:4364
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 9 morebinutils2.37-7.21.2SUSE-SU-2021:3616-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 morebinutils2.37-9.39.1SUSE-SU-2021:3593-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morebinutils2.37-6.23.1SUSE-SU-2022:0934-1
SUSELinux Enterprise Module for Development Tools 15 SP3bpftrace0.11.4-3.2.1SUSE-SU-2021:3616-1
SUSELinux Enterprise Software Development Kit 12 SP5binutils, cross-ppc-binutils, cross-spu-binutils2.37-9.39.1SUSE-SU-2021:3593-1
openSUSELeap 15.2binutils, cross-rx-binutils, cross-arm-binutils and 19 more2.37-lp152.4.9.1openSUSE-SU-2021:1475-1
openSUSELeap 15.2bpftrace0.11.4-lp152.2.7.1openSUSE-SU-2021:1475-1
openSUSELeap 15.3binutils2.37-7.21.2openSUSE-SU-2021:3616-1
openSUSELeap 15.3bpftrace0.11.4-3.2.1openSUSE-SU-2021:3616-1
openSUSELeap 15.3cross-rx-binutils, cross-arm-binutils, cross-avr-binutils and 18 more2.37-7.21.1openSUSE-SU-2021:3616-1
openSUSETumbleweedbinutils2.37-1.3openSUSE-SU-2024:10651-1
AlmaLinux8binutils-devel2.30-108.el8ALSA-2021:4364
Rocky Linux8binutils0:2.30-108.el8RLSA-2021:4364

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8binutils-0:2.30-108.el8Fixed 2021-11-09RHSA-2021:4364
Red Hat Enterprise Linux 6binutilsNot affected
Red Hat Enterprise Linux 7binutilsNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-binutilsFix deferred
Red Hat Enterprise Linux 8gcc-toolset-9-binutilsNot affected
Red Hat Enterprise Linux 9binutilsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20284.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON