limit AudioBuffer channel counts and sample rate range
Originally disclosed on Mozilla
- Fixed in 47 days
- Paid in 3 months
- Disclosed after 47 days
Bug 987679 identified a critical security bug using the Speex resampler with
extreme down-sampling ratios and/or channel counts.
When the resampler code is patched to fix that, there still remains a null
deref crash.
We don't need to handle so many channels and large numbers of channels have
led to other security bugs such as bug 990794. There have been previous
attempts to limit the number of channels in bug 877039 and bug 987976 but
there are still ways to go beyond the intended limit of 32 channels.
We can't hope to support extreme down-sampling ratios successfully because
this requires processing a huge number of input samples per output sample, so
there is little harm in applying a limit on sample rates.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A critical-severity memory corruption bug in Web Audio. Mozilla made it public on 20 May 2014 as CVE-2014-1542.
About Memory corruption
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.