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.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
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=1730156 | issue tracking permissions required vendor advisory |
https://www.debian.org/security/2021/dsa-5026 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2021/12/msg00030.html | third party advisory mailing list |
https://www.debian.org/security/2022/dsa-5034 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html | third party advisory mailing list |
https://security.gentoo.org/glsa/202202-03 | third party advisory vendor advisory |
https://security.gentoo.org/glsa/202208-14 | third party advisory vendor advisory |