Closed Bug 2060799 Opened 3 months ago Closed 3 months ago

Harden against binding an already-parented node

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr140 --- wontfix
firefox-esr153 154+ fixed
firefox153 --- wontfix
firefox154 + fixed
firefox155 + fixed

People

(Reporter: vhilla, Assigned: vhilla)

References

Details

(Keywords: sec-want, Whiteboard: [adv-main154-][adv-esr153.1-])

Attachments

(3 external files)

As follow-up from bug 2054635 and bug 2058665, I think we should tighten the asserts in InsertChildBefore and BindToTree.

Assignee: nobody → vhilla
Depends on: 2054635, 2058665
Keywords: sec-want
Attached file (secure) —

:vhilla, please update all release status flags to reflect the affected/unaffected/disabled state correctly. Which branches (beta, release, and/or ESR) are affected by this flaw?

Flags: needinfo?(vhilla)

Do we set them for enhancements? All branches are affected, but it's not really a flaw that would be fixed and uplifted I think.

Flags: needinfo?(vhilla)
Group: dom-core-security
Group: core-security
Group: dom-core-security → core-security-release
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch

I think a Beta/ESR153 uplift could make sense for the sake of long-term maintenance and hardening, but we can wontfix if you feel strongly otherwise.

But no, setting statuses doesn't automatically mean we plan to uplift it everywhere. We still want to know what releases are impacted either way, however, so informed decisions can be made. And it makes the most sense for developers working on the bug to set that status since they'll have the most context about that.

Attached file (secure) —
Attachment #9623930 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Long-term maintenance on esr, hardening on beta.
    Getting them to beta means we'll know earlier if they can be hit, and can otherwise consider turning them on in release.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: I looked through the code and don't think these assertions can still be hit. They already existed as non-diagnostic asserts for some time.
  • String changes made/needed?: No
  • Is Android affected?: yes
Attached file (secure) —
Attachment #9623931 - Flags: approval-mozilla-esr153?

firefox-esr153 Uplift Approval Request

  • User impact if declined/Reason for urgency: Long-term maintenance on esr, hardening on beta.
    Getting them to beta means we'll know earlier if they can be hit, and can otherwise consider turning them on in release.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: I looked through the code and don't think these assertions can still be hit. They already existed as non-diagnostic asserts for some time.
  • String changes made/needed?: No
  • Is Android affected?: yes

Thanks for explaining. I put up the requests.

Flags: needinfo?(vhilla)
Attachment #9623930 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9623931 - Flags: approval-mozilla-esr153? → approval-mozilla-esr153+
QA Whiteboard: [sec] [uplift] [qa-triage-done-c155/b154]
Whiteboard: [adv-main154-]
Whiteboard: [adv-main154-] → [adv-main154-][adv-esr153.1-]
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: