Improper Use of sizeof Function in Firefox < 86

Improper Use of sizeof Function in Firefox < 86

CVE-2021-23975 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

The developer page about:memory has a Measure function for exploring what object types the browser has allocated and their sizes. When this function was invoked we incorrectly called the sizeof function, instead of using the API method that checks for invalid pointers. This vulnerability affects Firefox < 86.

Learn more about our Api Penetration Testing.