CVE-2021-38504
JSON

8.8high

When interacting with an HTML input element's file picker dialog with webkitdirectory set, a use-after-free could have resulted, leading to…

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
1.77% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mozilla

Description

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.

Affected

Product or packageVersionsReported by
Mozilla Firefoxfrom unspecified before 94, before 94.0CVE List, NVD
Mozilla Thunderbirdfrom unspecified before 91.3, before 91.3.0CVE List, NVD
Mozilla Firefox ESRfrom unspecified before 91.3CVE List
mozilla firefox_esrbefore 91.3.0NVD
debian debian_linux9.0, 10.0, 11.0NVD

All scores

NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Cuando se interactúa con el diálogo del selector de archivos de un elemento de entrada HTML con webkitdirectory configurado, podría haberse producido un uso de memoria previamente liberada, conllevando a una corrupción de memoria y un bloqueo potencialmente explotable. Esta vulnerabilidad afecta a Firefox versiones anteriores a 94, Thunderbird versiones anteriores a 91.3 y Firefox ESR versiones anteriores a 91.3

References

https://www.mozilla.org/security/advisories/mfsa2021-49/vendor-advisory
https://www.mozilla.org/security/advisories/mfsa2021-50/vendor-advisory
https://www.mozilla.org/security/advisories/mfsa2021-48/vendor-advisory
https://bugzilla.mozilla.org/show_bug.cgi?id=1730156issue-tracking, permissions-required, vendor-advisory
https://www.debian.org/security/2021/dsa-5026third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2021/12/msg00030.htmlmailing-list, third-party-advisory
https://www.debian.org/security/2022/dsa-5034third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00001.htmlmailing-list, third-party-advisory
https://security.gentoo.org/glsa/202202-03third-party-advisory, vendor-advisory
https://security.gentoo.org/glsa/202208-14third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-38504 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-38504 changed 2026-06-17Public domain