CVE-2021-38504

NameCVE-2021-38504
DescriptionWhen 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2863-1, DLA-2874-1, DSA-5026-1, DSA-5034-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid127.0.1-1fixed
firefox-esr (PTS)buster91.12.0esr-1~deb10u1fixed
buster (security)115.12.0esr-1~deb10u1fixed
bullseye115.7.0esr-1~deb11u1fixed
bullseye (security)115.12.0esr-1~deb11u1fixed
bookworm115.7.0esr-1~deb12u1fixed
bookworm (security)115.12.0esr-1~deb12u1fixed
sid, trixie115.12.0esr-1fixed
thunderbird (PTS)buster1:91.12.0-1~deb10u1fixed
buster (security)1:115.12.0-1~deb10u1fixed
bullseye1:115.7.0-1~deb11u1fixed
bullseye (security)1:115.12.0-1~deb11u1fixed
bookworm1:115.7.0-1~deb12u1fixed
bookworm (security)1:115.12.0-1~deb12u1fixed
sid, trixie1:115.12.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)94.0-1
firefox-esrsourcestretch91.4.1esr-1~deb9u1DLA-2863-1
firefox-esrsourcebullseye91.4.1esr-1~deb11u1DSA-5026-1
firefox-esrsource(unstable)91.3.0esr-1
thunderbirdsourcestretch1:91.4.1-1~deb9u1DLA-2874-1
thunderbirdsourcebuster1:91.4.1-1~deb10u1DSA-5034-1
thunderbirdsourcebullseye1:91.4.1-1~deb11u1DSA-5034-1
thunderbirdsource(unstable)1:91.3.0-1

Notes

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://www.mozilla.org/en-US/security/advisories/mfsa2021-50/#CVE-2021-38504

Search for package or bug name: Reporting problems