A data race could occur in the <code>PK11_ChangePW</code> function, potentially leading to a use-after-free vulnerability. In Firefox, this lock protected the data when a user changed their master password. This vulnerability affects Firefox ESR < 102.2 and Thunderbird < 102.2.
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/mfsa2022-36/ | vendor advisory |
https://www.mozilla.org/security/advisories/mfsa2022-34/ | vendor advisory |
https://bugzilla.mozilla.org/show_bug.cgi?id=1760998 | issue tracking permissions required vendor advisory |