Cloudanix VulnDB

CVE-2021-29980

High · 8.8

CVSS

8.8

EPSS

1.4%

Published

Aug 17, 2021

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in older versions of popular web browsers and email software could let attackers take over a computer simply by getting a user to visit a malicious website or open a malicious message.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Remote Code Execution
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Uninitialized memory in a canvas object triggers an incorrect free() operation, resulting in memory corruption that can lead to a crash or arbitrary code execution.

Why it matters to the business

Attackers could gain control of affected browsers or email clients, risking theft of user data, credential compromise, or further network intrusion; the issue has been public for over five years with public exploits available.

How an attack unfolds

An attacker crafts a malicious webpage or HTML email containing a specially prepared canvas element. When the victim loads the content in an unpatched Firefox, Firefox ESR, or Thunderbird, the uninitialized memory is freed incorrectly, corrupting heap structures and allowing the attacker to hijack control flow.

How to fix it

Upgrade Firefox to version 91 or later, Firefox ESR to 78.13 or later, and Thunderbird to 78.13 or 91 or later. Apply vendor updates as soon as possible given the age of the vulnerability and public exploit availability.

How to confirm the fix worked

Verify installed product versions against the fixed releases listed in Mozilla security advisories; re-test affected canvas rendering paths after upgrade to confirm the crash no longer occurs.

Typical attack path

  1. Deliver malicious HTML via web page or email attachment to the target user
  2. Victim's browser or email client renders the canvas object
  3. Uninitialized memory triggers incorrect free leading to heap corruption
  4. Attacker uses corruption to achieve code execution or reliable crash
  5. Payload executes within the browser or Thunderbird process context

How to detect it

Review application crash logs and telemetry for unexpected terminations involving canvas or memory-management routines; correlate with web or email access to suspicious domains around the time of the crash.

What your security team should do

  • Immediately inventory all Firefox, Firefox ESR, and Thunderbird deployments and prioritize patching
  • Block or sandbox untrusted web and email content until updates are applied
  • Monitor vendor advisories for any related memory-safety improvements
  • Educate users on avoiding suspicious links and attachments

The record

Uninitialized memory in a canvas object could have caused an incorrect free() leading to memory corruption and a potentially exploitable crash. This vulnerability affects Thunderbird < 78.13, Thunderbird < 91, Firefox ESR < 78.13, and Firefox < 91.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 firefox-esr 0 78.13.0esr-1~deb10u1
Debian:10 thunderbird 0 1:78.13.0-1~deb10u1
Debian:11 firefox-esr 0 78.13.0esr-1~deb11u1
Debian:11 thunderbird 0 1:78.13.0-1~deb11u1
Debian:12 firefox-esr 0 78.13.0esr-1
Debian:12 thunderbird 0 1:78.13.0-1
Debian:13 firefox-esr 0 78.13.0esr-1
Debian:13 thunderbird 0 1:78.13.0-1
Debian:9 firefox-esr 0 78.13.0esr-1~deb9u1
Debian:9 thunderbird 0 1:78.13.0-1~deb9u1
Mageia:8 firefox 0 78.13.0-1.mga8
Mageia:8 firefox-l10n 0 78.13.0-1.mga8
Mageia:8 nss 0 3.69.0-1.mga8
Mageia:8 thunderbird 0 78.13.0-1.mga8
Mageia:8 thunderbird-l10n 0 78.13.0-1.mga8
Red Hat:enterprise_linux:7::client firefox 0 0:78.13.0-2.el7_9
Red Hat:enterprise_linux:7::client firefox-debuginfo 0 0:78.13.0-2.el7_9
Red Hat:enterprise_linux:7::client thunderbird 0 0:78.13.0-1.el7_9
Red Hat:enterprise_linux:7::client thunderbird-debuginfo 0 0:78.13.0-1.el7_9
Red Hat:enterprise_linux:7::server firefox 0 0:78.13.0-2.el7_9
Red Hat:enterprise_linux:7::server firefox-debuginfo 0 0:78.13.0-2.el7_9
Red Hat:enterprise_linux:7::server thunderbird 0 0:78.13.0-1.el7_9
Red Hat:enterprise_linux:7::server thunderbird-debuginfo 0 0:78.13.0-1.el7_9
Red Hat:enterprise_linux:7::workstation firefox 0 0:78.13.0-2.el7_9
Red Hat:enterprise_linux:7::workstation firefox-debuginfo 0 0:78.13.0-2.el7_9
Red Hat:enterprise_linux:7::workstation thunderbird 0 0:78.13.0-1.el7_9
Red Hat:enterprise_linux:7::workstation thunderbird-debuginfo 0 0:78.13.0-1.el7_9
Red Hat:enterprise_linux:8::appstream firefox 0 0:78.13.0-2.el8_4
Red Hat:enterprise_linux:8::appstream firefox-debuginfo 0 0:78.13.0-2.el8_4
Red Hat:enterprise_linux:8::appstream firefox-debugsource 0 0:78.13.0-2.el8_4
Red Hat:enterprise_linux:8::appstream thunderbird 0 0:78.13.0-1.el8_4
Red Hat:enterprise_linux:8::appstream thunderbird-debuginfo 0 0:78.13.0-1.el8_4
Red Hat:enterprise_linux:8::appstream thunderbird-debugsource 0 0:78.13.0-1.el8_4
Red Hat:rhel_eus:8.1::appstream firefox 0 0:78.13.0-2.el8_1
Red Hat:rhel_eus:8.1::appstream firefox-debuginfo 0 0:78.13.0-2.el8_1
Red Hat:rhel_eus:8.1::appstream firefox-debugsource 0 0:78.13.0-2.el8_1
Red Hat:rhel_eus:8.1::appstream thunderbird 0 0:78.13.0-1.el8_1
Red Hat:rhel_eus:8.1::appstream thunderbird-debuginfo 0 0:78.13.0-1.el8_1
Red Hat:rhel_eus:8.1::appstream thunderbird-debugsource 0 0:78.13.0-1.el8_1
Red Hat:rhel_eus:8.2::appstream firefox 0 0:78.13.0-2.el8_2
Red Hat:rhel_eus:8.2::appstream firefox-debuginfo 0 0:78.13.0-2.el8_2
Red Hat:rhel_eus:8.2::appstream firefox-debugsource 0 0:78.13.0-2.el8_2
Red Hat:rhel_eus:8.2::appstream thunderbird 0 0:78.13.0-1.el8_2
Red Hat:rhel_eus:8.2::appstream thunderbird-debuginfo 0 0:78.13.0-1.el8_2
Red Hat:rhel_eus:8.2::appstream thunderbird-debugsource 0 0:78.13.0-1.el8_2
Rocky Linux:8 firefox 0 0:78.13.0-2.el8_4
Rocky Linux:8 thunderbird 0 0:78.13.0-1.el8_4
SUSE:Enterprise Storage 6 MozillaFirefox 0 91.2.0-3.155.2
SUSE:Enterprise Storage 6 MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Enterprise Storage 6 MozillaFirefox 0 78.13.0-3.150.1
SUSE:Enterprise Storage 6 MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:HPE Helion OpenStack 8 MozillaFirefox 0 91.1.0-112.71.1
SUSE:HPE Helion OpenStack 8 MozillaFirefox 0 91.9.0-112.104.1
SUSE:HPE Helion OpenStack 8 MozillaFirefox 0 78.13.0-112.68.1
SUSE:HPE Helion OpenStack 8 MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise High Performance Computing 15-ESPOS MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise High Performance Computing 15-LTSS MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 MozillaFirefox 0 91.2.0-8.54.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 MozillaFirefox 0 78.13.0-8.49.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 MozillaFirefox-branding-SLE 0 91-9.5.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 MozillaFirefox 0 91.2.0-8.54.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 MozillaFirefox 0 78.13.0-8.49.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 MozillaFirefox-branding-SLE 0 91-9.5.1
SUSE:Linux Enterprise Server 11 SP4-LTSS MozillaFirefox 0 78.13.0-78.137.1
SUSE:Linux Enterprise Server 11 SP4-LTSS MozillaFirefox 0 78.14.0-78.140.4
SUSE:Linux Enterprise Server 11 SP4-LTSS MozillaFirefox 0 91.2.0-78.143.1
SUSE:Linux Enterprise Server 11 SP4-LTSS MozillaFirefox-branding-SLED 0 91-21.18.1
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise Server 12 SP3-BCL MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Server 12 SP3-BCL MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Server 12 SP3-BCL MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Server 12 SP3-BCL MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise Server 12 SP3-LTSS MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Server 12 SP3-LTSS MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Server 12 SP3-LTSS MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Server 12 SP3-LTSS MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise Server 12 SP4-LTSS MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Server 12 SP4-LTSS MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Server 12 SP4-LTSS MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Server 12 SP4-LTSS MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise Server 12 SP5 MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Server 12 SP5 MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Server 12 SP5 MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Server 12 SP5 MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise Server 15 SP1-BCL MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise Server 15 SP1-BCL MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise Server 15 SP1-BCL MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise Server 15 SP1-BCL MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise Server 15 SP1-LTSS MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise Server 15 SP1-LTSS MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise Server 15 SP1-LTSS MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise Server 15 SP1-LTSS MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise Server 15-LTSS MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise Server 15-LTSS MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise Server 15-LTSS MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise Server 15-LTSS MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:Linux Enterprise Server for SAP Applications 15 MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise Server for SAP Applications 15 MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise Server for SAP Applications 15 MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise Server for SAP Applications 15 MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 MozillaFirefox 0 91.2.0-3.155.2
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 MozillaFirefox 0 91.9.0-150000.150.34.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 MozillaFirefox 0 78.13.0-3.150.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 MozillaFirefox-branding-SLE 0 91-4.19.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 MozillaFirefox 0 91.1.0-112.71.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 MozillaFirefox 0 91.9.0-112.104.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 MozillaFirefox 0 78.13.0-112.68.1
SUSE:Linux Enterprise Workstation Extension 15 SP2 MozillaThunderbird 0 78.13.0-8.36.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 MozillaThunderbird 0 78.13.0-8.36.1
SUSE:Manager Proxy 4.0 MozillaFirefox 0 78.13.0-3.150.1
SUSE:Manager Retail Branch Server 4.0 MozillaFirefox 0 78.13.0-3.150.1
SUSE:Manager Server 4.0 MozillaFirefox 0 78.13.0-3.150.1
SUSE:OpenStack Cloud 8 MozillaFirefox 0 91.1.0-112.71.1
SUSE:OpenStack Cloud 8 MozillaFirefox 0 91.9.0-112.104.1
SUSE:OpenStack Cloud 8 MozillaFirefox 0 78.13.0-112.68.1
SUSE:OpenStack Cloud 8 MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:OpenStack Cloud 9 MozillaFirefox 0 91.1.0-112.71.1
SUSE:OpenStack Cloud 9 MozillaFirefox 0 91.9.0-112.104.1
SUSE:OpenStack Cloud 9 MozillaFirefox 0 78.13.0-112.68.1
SUSE:OpenStack Cloud 9 MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:OpenStack Cloud Crowbar 8 MozillaFirefox 0 91.1.0-112.71.1
SUSE:OpenStack Cloud Crowbar 8 MozillaFirefox 0 91.9.0-112.104.1
SUSE:OpenStack Cloud Crowbar 8 MozillaFirefox 0 78.13.0-112.68.1
SUSE:OpenStack Cloud Crowbar 8 MozillaFirefox-branding-SLE 0 91-35.6.6
SUSE:OpenStack Cloud Crowbar 9 MozillaFirefox 0 91.1.0-112.71.1
SUSE:OpenStack Cloud Crowbar 9 MozillaFirefox 0 91.9.0-112.104.1
SUSE:OpenStack Cloud Crowbar 9 MozillaFirefox 0 78.13.0-112.68.1
SUSE:OpenStack Cloud Crowbar 9 MozillaFirefox-branding-SLE 0 91-35.6.6
Ubuntu:18.04:LTS firefox 0 91.0+build2-0ubuntu0.18.04.1
Ubuntu:18.04:LTS mozjs38 0 No fix
Ubuntu:18.04:LTS mozjs52 0 No fix
Ubuntu:18.04:LTS thunderbird 0 1:78.13.0+build1-0ubuntu0.18.04.1
Ubuntu:20.04:LTS firefox 0 91.0+build2-0ubuntu0.20.04.1
Ubuntu:20.04:LTS mozjs52 0 No fix
Ubuntu:20.04:LTS mozjs68 0 No fix
Ubuntu:20.04:LTS thunderbird 0 1:78.13.0+build1-0ubuntu0.20.04.2
Ubuntu:22.04:LTS mozjs78 0 No fix
Ubuntu:Pro:18.04:LTS mozjs38 0 No fix
Ubuntu:Pro:18.04:LTS mozjs52 0 No fix
Ubuntu:Pro:20.04:LTS mozjs52 0 No fix
Ubuntu:Pro:20.04:LTS mozjs68 0 No fix
Ubuntu:Pro:22.04:LTS mozjs78 0 No fix
openSUSE:Leap 15.2 MozillaFirefox 0 78.13.0-lp152.2.64.1
openSUSE:Leap 15.2 MozillaFirefox 0 91.2.0-lp152.2.67.1
openSUSE:Leap 15.2 rust-cbindgen 0 0.19.0-lp152.2.7.1
openSUSE:Leap 15.3 MozillaFirefox 0 91.2.0-8.54.1
openSUSE:Leap 15.3 MozillaFirefox 0 78.13.0-8.49.1
openSUSE:Leap 15.3 MozillaFirefox-branding-SLE 0 91-9.5.1
openSUSE:Leap 15.3 MozillaThunderbird 0 78.13.0-8.36.1
openSUSE:Leap 15.3 rust-cbindgen 0 0.19.0-1.9.1
openSUSE:Tumbleweed MozillaFirefox 0 92.0-1.2
openSUSE:Tumbleweed MozillaThunderbird 0 91.1.1-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities