Closed Bug 1620972 Opened 4 years ago Closed 4 years ago

Crash in [@ mozilla::psm::TransportSecurityInfo::Write]

Categories

(Core :: Security: PSM, defect, P1)

x86
Windows 10
defect

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox-esr68 --- unaffected
firefox73 --- wontfix
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 + fixed

People

(Reporter: jesup, Assigned: keeler)

References

(Regression)

Details

(4 keywords, Whiteboard: [psm-assigned][post-critsmash-triage][adv-main77+r])

Crash Data

Attachments

(1 file)

UAF; looks like this signature started again in 71, but frequency has gone way up in 74beta and 74 rc1/2.

This bug is for crash report bp-d07d976a-f35e-44a6-9e6d-9e6b20200306.

Top 10 frames of crashing thread:

0 xul.dll mozilla::psm::TransportSecurityInfo::Write security/manager/ssl/TransportSecurityInfo.cpp:239
1 xul.dll nsBinaryOutputStream::WriteCompoundObject xpcom/io/nsBinaryStream.cpp:328
2 xul.dll NS_SerializeToString netwerk/base/nsSerializationHelper.cpp:24
3 xul.dll mozilla::net::HttpChannelParent::UpdateAndSerializeSecurityInfo netwerk/protocol/http/HttpChannelParent.cpp:2444
4 xul.dll mozilla::net::HttpChannelParent::OnStartRequest netwerk/protocol/http/HttpChannelParent.cpp:1472
5 xul.dll mozilla::net::ParentChannelListener::OnStartRequest netwerk/protocol/http/ParentChannelListener.cpp:88
6 xul.dll mozilla::net::SubstitutingJARURI::GetSpec netwerk/protocol/res/SubstitutingJARURI.h:65
7 xul.dll mozilla::extensions::ChannelWrapper::RequestListener::OnStartRequest toolkit/components/extensions/webrequest/ChannelWrapper.cpp:1049
8 xul.dll mozilla::net::nsHttpChannel::CallOnStartRequest netwerk/protocol/http/nsHttpChannel.cpp:1984
9 xul.dll mozilla::net::nsHttpChannel::ContinueOnStartRequest4 netwerk/protocol/http/nsHttpChannel.cpp:8004

This signature did show up in FF 5N versions but appears to be gone until 71, so counting this as a regression

Component: Networking → Security: PSM
Group: core-security → crypto-core-security

The priority flag is not set for this bug.
:keeler, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dkeeler)
Flags: needinfo?(dkeeler)
Priority: -- → P2
Whiteboard: [psm-backlog]
Assignee: nobody → dkeeler
Status: NEW → ASSIGNED
Priority: P2 → P1
Whiteboard: [psm-backlog] → [psm-assigned]

Comment on attachment 9142597 [details]
Bug 1620972 - avoid unnecessary do_QueryInterface calls in TransportSecurityInfo r?kjacobs

Security Approval Request

  • How easily could an exploit be constructed based on the patch?: unclear - unfortunately I'm not even sure if this solves the problem (this is a speculative fix)
  • Do comments in the patch, the check-in comment, or tests included in the patch paint a bulls-eye on the security problem?: No
  • Which older supported branches are affected by this flaw?: release, beta
  • If not all supported branches, which bug introduced the flaw?: Bug 1580315
  • Do you have backports for the affected branches?: Yes
  • If not, how different, hard to create, and risky will they be?:
  • How likely is this patch to cause regressions; how much testing does it need?: unlikely to cause regressions (automated tests should be sufficient)
Attachment #9142597 - Flags: sec-approval?
Has Regression Range: --- → yes

Comment on attachment 9142597 [details]
Bug 1620972 - avoid unnecessary do_QueryInterface calls in TransportSecurityInfo r?kjacobs

Sec-approval for nightly (77), but you don't sound sure enough it fixes the problem to try to ram it into 76 RC.

Attachment #9142597 - Flags: sec-approval? → sec-approval+
Group: crypto-core-security → core-security-release
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Flags: qe-verify-
Whiteboard: [psm-assigned] → [psm-assigned][post-critsmash-triage]
Whiteboard: [psm-assigned][post-critsmash-triage] → [psm-assigned][post-critsmash-triage][adv-main77+r]
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: