Skip to content
Disclosed report CVE-2012-0478

nsIDOMWebGLRenderingContext_Tex{,Sub}Image2D use JSVAL_TO_OBJECT on arbitrary objects

Ms2ger Follow

Originally disclosed on Mozilla

  • Fixed in 7 days
  • Paid in 17 months
  • Disclosed after 7 days
Text
Created attachment 597496
Patch v1

Something like this should do the trick:

webglcontext.texImage2D(0, 0, 0, 0, 0, { width: 10, height: 10, data: 7 })

I'd test it, but we don't support WebGL on my hardware. Code was added in bug 573705.

The original report as published on Mozilla's Bugzilla, by Ms2ger. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 security bug in Graphics: CanvasWebGL. Mozilla made it public on 22 February 2012 as CVE-2012-0478.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

More by Ms2ger

View all

1 more disclosed report, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.