{"id":"ALPINE-CVE-2021-38504","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 \u003c 94, Thunderbird \u003c 91.3, and Firefox ESR \u003c 91.3.","modified":"2026-11-03T06:32:58.541962016Z","published":"2021-12-08T22:15:08.790Z","upstream":["CVE-2021-38504"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-38504"}],"affected":[{"package":{"name":"firefox","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/firefox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"firefox-esr","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/firefox-esr?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"librewolf","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/librewolf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"librewolf","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/librewolf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"librewolf","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/librewolf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"librewolf","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/librewolf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"94.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"thunderbird","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/thunderbird?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"thunderbird","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/thunderbird?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"thunderbird","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/thunderbird?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"thunderbird","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/thunderbird?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"thunderbird","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/thunderbird?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"thunderbird","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/thunderbird?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"thunderbird","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/thunderbird?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}},{"package":{"name":"thunderbird","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/thunderbird?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"91.3.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-38504.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}