Closed Bug 1611238 Opened 5 years ago Closed 5 years ago

Let eval security ride to release

Categories

(Core :: DOM: Security, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox73 - ---
firefox74 --- fixed

People

(Reporter: tjr, Assigned: tjr)

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

We're at <100 distinct users on 72 release who reported eval() usage, we don't have a great understanding on what the cases of those are, but they are pretty limited so I think we can let this roll out.

Assignee: nobody → tom
Status: NEW → ASSIGNED

[Tracking Requested - why for this release]: This is a feature presently enabled on Beta that we want to enable in release by removing an ifdef.

Comment on attachment 9122733 [details]
Bug 1611238 - Enforce eval restrictions in the Parent Process/System Context r?ckerschb

Beta/Release Uplift Approval Request

  • User impact if declined: We will delay a security hardening feature another release.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: Bug 1609474
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky): This patch will turn on enforcement that eval() cannot be used in the parent process or system principal context. We currently collect telemetry that indicate a small (<100) number of users will be affected by this; but we don't know how they are able to run eval (at least, without sticking in some speculative privacy-concerning telemetry.)

It's possible that some use case we've never heard of will show up and tell us Firefox is broken.

That said, the risk is not related to the uplift; it's been enabled in Beta before. The next step is to finally enforce it in Release.

Bug 1609474 is not strictly necessary but it would eliminate one very edge case of telemetry we discovered.

  • String changes made/needed:
Attachment #9122733 - Flags: approval-mozilla-beta?
Priority: -- → P2
Whiteboard: [domsecurity-active]
Pushed by tritter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/25d7b70112bf Enforce eval restrictions in the Parent Process/System Context r=ckerschb
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74

Comment on attachment 9122733 [details]
Bug 1611238 - Enforce eval restrictions in the Parent Process/System Context r?ckerschb

not seeing a strong reason to not let this ride to 74.

Attachment #9122733 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: