Advisory
UBUNTU-CVE-2021-38504
Also known as: CVE-2021-38504
Summary
The record has no summary.
Details
When interacting with an HTML input element's file picker dialog with webkitdirectory set, a use-after-free could have resulted, leading to memory corruption and a potentially exploitable crash. This vulnerability affects Firefox < 94, Thunderbird < 91.3, and Firefox ESR < 91.3.
Severity
High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Dates
- Published
- 2021-11-03 00:00 UTC
- Modified
- 2026-04-22 12:58 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| firefox | Debian packages (deb) · Ubuntu 18.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| thunderbird | Debian packages (deb) · Ubuntu 18.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| mozjs52 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| mozjs38 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| firefox | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| thunderbird | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| mozjs68 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| mozjs52 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| firefox | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| mozjs78 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| thunderbird | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2021-38504
- https://www.mozilla.org/en-US/security/advisories/mfsa2021-48/#CVE-2021-38504
- https://www.mozilla.org/en-US/security/advisories/mfsa2021-49/#CVE-2021-38504
- https://ubuntu.com/security/notices/USN-5131-1
- https://ubuntu.com/security/notices/USN-5152-1
- https://ubuntu.com/security/notices/USN-5248-1
- https://www.cve.org/CVERecord?id=CVE-2021-38504
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0