CVE-2021-4126
Medium · 6.5CVSS
6.5
EPSS
0.5%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
An email program could incorrectly show that extra text added after an email was signed was still protected by the original signature.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
When an OpenPGP/MIME signed email contains an additional outer MIME layer, only the inner signed message is validated for signature status, allowing unsigned outer content to appear covered by the signature.
Why it matters to the business
Recipients may trust and act on email content that has been altered after signing, increasing risk of successful social engineering or misinformation in organizational communications.
How an attack unfolds
An attacker crafts or intercepts an OpenPGP signed email, wraps it with an additional unsigned outer MIME layer such as a mailing list footer, and delivers it so the client displays a valid signature status for the entire message including the attacker's additions.
How to fix it
Upgrade affected Thunderbird installations to version 91.4.1 or later; ensure all clients enforce signature validation only on the top-level MIME part.
How to confirm the fix worked
Confirm client version is at least 91.4.1 and test with sample emails containing outer MIME layers to verify signature status is limited to the top-level part.
Typical attack path
- Obtain or create a legitimately signed OpenPGP/MIME email
- Insert an additional outer MIME part containing attacker-controlled content
- Deliver the message via a mailing list or direct SMTP
- Victim client displays signature validity for the full message
How to detect it
Review email client logs and MIME structure of received messages for nested signed parts with additional outer layers; search message stores for OpenPGP signature status indicators paired with multi-layer MIME content.
What your security team should do
- Prioritize patching all Thunderbird instances to 91.4.1 or newer
- Educate users on verifying signatures manually when receiving forwarded or list-processed mail
- Monitor for any remaining pre-91.4.1 deployments via inventory scans
The record
When receiving an OpenPGP/MIME signed email message that contains an additional outer MIME message layer, for example a message footer added by a mailing list gateway, Thunderbird only considered the inner signed message for the signature validity. This gave the false impression that the additional contents were also covered by the digital signature. Starting with Thunderbird version 91.4.1, only the signature that belongs to the top level MIME part will be considered for the displayed status. This vulnerability affects Thunderbird < 91.4.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | thunderbird | 0 | 1:91.4.1-1~deb10u1 |
| Debian:11 | thunderbird | 0 | 1:91.4.1-1~deb11u1 |
| Debian:12 | thunderbird | 0 | 1:91.4.1-1 |
| Debian:13 | thunderbird | 0 | 1:91.4.1-1 |
| Debian:9 | thunderbird | 0 | 1:91.4.1-1~deb9u1 |
| Mageia:8 | thunderbird | 0 | 91.4.1-1.mga8 |
| Mageia:8 | thunderbird-l10n | 0 | 91.4.1-1.mga8 |
| SUSE:Linux Enterprise Workstation Extension 15 SP3 | MozillaThunderbird | 0 | 91.4.1-8.48.1 |
| SUSE:Package Hub 15 SP3 | zabbix | 0 | 4.0.38-bp153.2.3.1 |
| Ubuntu:18.04:LTS | thunderbird | 0 | 1:91.5.0+build1-0ubuntu0.18.04.1 |
| Ubuntu:20.04:LTS | thunderbird | 0 | 1:91.5.0+build1-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | thunderbird | 0 | 1:91.5.0+build1-0ubuntu1 |
| openSUSE:Leap 15.3 | MozillaThunderbird | 0 | 91.4.1-8.48.1 |
| openSUSE:Leap 15.3 | zabbix | 0 | 4.0.38-bp153.2.3.1 |
| openSUSE:Tumbleweed | MozillaThunderbird | 0 | 91.4.1-1.1 |
Related vulnerabilities
- CVE-2024-5696 By manipulating the text in an `input` tag, an attacker could have caused corrupt memory… Also affects thunderbird
- CVE-2024-5700 Memory safety bugs present in Firefox 126, Firefox ESR 115.11, and Thunderbird 115.11. Also affects thunderbird
- CVE-2024-5702 Memory corruption in the networking stack could have led to a potentially exploitable… Also affects thunderbird
- CVE-2024-5693 Offscreen Canvas did not properly track cross-origin tainting, which could be used to… Also affects thunderbird
- CVE-2024-5688 If a garbage collection was triggered at the right time, a use-after-free could have… Also affects thunderbird
- CVE-2024-5691 By tricking the browser with a `X-Frame-Options` header, a sandboxed iframe could have… Also affects thunderbird
- CVE-2024-5690 By monitoring the time certain operations take, an attacker could have guessed which… Also affects thunderbird
- CVE-2024-4777 Memory safety bugs present in Firefox 125, Firefox ESR 115.10, and Thunderbird 115.10. Also affects thunderbird