Closed
Bug 1442504
Opened 8 years ago
Closed 8 years ago
Disable disjoint timer queries to prevent use as a high-precision timer
Categories
(Core :: Graphics: CanvasWebGL, defect, P1)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla60
People
(Reporter: jgilbert, Assigned: jgilbert)
References
Details
(Keywords: sec-high, Whiteboard: [embargo until 1434400 is fixed][adv-main59-][adv-esr52.7-] gfx-noted)
Attachments
(1 file)
|
2.06 KB,
patch
|
milan
:
review+
RyanVM
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr52+
abillings
:
sec-approval+
|
Details | Diff | Splinter Review |
Disjoint timer queries offer an incredibly precise timestamp, *and* a timestamp/interval separate from the core performance.now() timer. We need to disable it for the time being, and think hard about how we can mitigate its usefulness for timing attacks before reintroducing it.
| Assignee | ||
Updated•8 years ago
|
Whiteboard: gfx-noted
| Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8955391 -
Flags: review?(milan)
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Comment 2•8 years ago
|
||
Comment on attachment 8955391 [details] [diff] [review]
0002-Bug-1442504-Disable-disjoint-timer-queries.-r-milan.patch
[Security approval request comment]
How easily could an exploit be constructed based on the patch?
Difficult. We don't state why we remove it.
Do comments in the patch, the check-in comment, or tests included in the patch paint a bulls-eye on the security problem?
No, we don't talk about why we remove it.
Which older supported branches are affected by this flaw?
Older than 50+
If not all supported branches, which bug introduced the flaw?
Do you have backports for the affected branches? If not, how different, hard to create, and risky will they be?
Trivial backports.
How likely is this patch to cause regressions; how much testing does it need?
This extension isn't guaranteed, so we're just making it go from <90% to 0%.
Attachment #8955391 -
Flags: sec-approval?
Updated•8 years ago
|
Attachment #8955391 -
Flags: review?(milan) → review+
Comment 3•8 years ago
|
||
Assuming 52 is affected since you mention the issue goes back further than 50.
What security rating would you put on this?
Are you looking for uplift to 59 ?
status-firefox-esr52:
--- → affected
tracking-firefox60:
--- → +
tracking-firefox-esr52:
--- → ?
Flags: needinfo?(jgilbert)
Comment 4•8 years ago
|
||
Calling this a sec-high and giving it sec-approval+ for trunk. This needs a beta and release branch nomination if we're going to ship it in 59 as well.
Keywords: sec-high
Updated•8 years ago
|
Attachment #8955391 -
Flags: sec-approval? → sec-approval+
| Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8955391 [details] [diff] [review]
0002-Bug-1442504-Disable-disjoint-timer-queries.-r-milan.patch
[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration:
User impact if declined: sec-high
Fix Landed on Version: will be 60
Risk to taking this patch (and alternatives if risky): none
String or UUID changes made by this patch: none
See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Approval Request Comment
[Feature/Bug causing the regression]: n/a
[User impact if declined]: sec-high
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: not landed yet
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: 60/59/esr32
[Is the change risky?]: no
[Why is the change risky/not risky?]: Disables a feature.
[String changes made/needed]: none
Flags: needinfo?(jgilbert)
Attachment #8955391 -
Flags: approval-mozilla-esr52?
Attachment #8955391 -
Flags: approval-mozilla-beta?
| Assignee | ||
Comment 6•8 years ago
|
||
More background: This extension is only enabled on drivers that support it, which is way way less than 100%. Authors should not be assuming that they have this extension, so removing it shouldn't ruin anyone's day.
Updated•8 years ago
|
Keywords: checkin-needed
Comment 7•8 years ago
|
||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 8•8 years ago
|
||
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Comment 9•8 years ago
|
||
Comment on attachment 8955391 [details] [diff] [review]
0002-Bug-1442504-Disable-disjoint-timer-queries.-r-milan.patch
Approved for Fx59rc1 and ESR 52.7.0.
Attachment #8955391 -
Flags: approval-mozilla-release+
Attachment #8955391 -
Flags: approval-mozilla-esr52?
Attachment #8955391 -
Flags: approval-mozilla-esr52+
Attachment #8955391 -
Flags: approval-mozilla-beta?
Attachment #8955391 -
Flags: approval-mozilla-beta+
Comment 10•8 years ago
|
||
| uplift | ||
Updated•8 years ago
|
Whiteboard: gfx-noted → [adv-main59-][adv-esr52.7+] gfx-noted
Updated•8 years ago
|
Whiteboard: [adv-main59-][adv-esr52.7+] gfx-noted → [adv-main59-][adv-esr52.7+] gfx-noted [embargo until 1434400 is fixed]
Updated•8 years ago
|
Whiteboard: [adv-main59-][adv-esr52.7+] gfx-noted [embargo until 1434400 is fixed] → [adv-main59-][adv-esr52.7-] gfx-noted [embargo until 1434400 is fixed]
Updated•8 years ago
|
Whiteboard: [adv-main59-][adv-esr52.7-] gfx-noted [embargo until 1434400 is fixed] → [embargo until 1434400 is fixed][adv-main59-][adv-esr52.7-] gfx-noted
Comment 11•8 years ago
|
||
Do we need to release note this removal? Or is no one using it because it's already gone in Chrome?
Updated•8 years ago
|
Flags: needinfo?(jgilbert)
| Assignee | ||
Comment 12•8 years ago
|
||
(In reply to Daniel Veditz [:dveditz] from comment #11)
> Do we need to release note this removal? Or is no one using it because it's
> already gone in Chrome?
It depends how much attention you want to draw to it. We're fine not mentioning it.
Flags: needinfo?(jgilbert)
Updated•8 years ago
|
Group: core-security → core-security-release
Updated•7 years ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•