NSS_ALLOW_SSLKEYLOGFILE appears to default to enabled in release
Categories
(NSS :: Libraries, defect, P1)
Tracking
(firefox-esr60 disabled, firefox64 wontfix, firefox65+ disabled, firefox66+ fixed)
People
(Reporter: erahm, Assigned: jcj)
References
Details
(Keywords: csectype-disclosure, sec-moderate)
Attachments
(4 files, 1 obsolete file)
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Reporter | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
I won't be able to fix NSS before the RC builds next week.
Comment 7•6 years ago
|
||
Eric, can you please file a bug for disabling NSS_ALLOW_SSLKEYLOGFILE on Firefox 65? Per IRC discussion with jcj, we want to leave it enabled on Nightly because it provides useful diagnostics, but we can still accept a Beta-only patch for 65.
Reporter | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Bug 1519209 disabled this functionality for RELEASE_OR_BETA.
Assignee | ||
Comment 9•6 years ago
|
||
There is a new test here because the keylog unittest sets the environment
variable for SSLKEYLOG and NSPR provides no mechanism (cross-platform-wise) to
actually delete an environment variable, so I made another file for the base
uninitialized case.
The fix here is for undefined behavior. That said, I can only repro on OSX and
Linux64 using ASAN, and that's not exactly a reproduction. I'm hoping that this
fix really catches the shutdown crashes we're seeing.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 10•6 years ago
|
||
Landed in trunk:
https://hg.mozilla.org/projects/nss/rev/3e26ed39924175d8dd7e4fc3904907cae8c0689b
https://hg.mozilla.org/projects/nss/rev/1313deb37daf581f5795d5b1e406238a47f77f5d
https://hg.mozilla.org/projects/nss/rev/32ad1532c67acc8974160880e7d79d22b0d0f25a
Assignee | ||
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Backed out from trunk for ASAN failures in Bug 1522929
https://hg.mozilla.org/projects/nss/rev/31656990b5d0
https://hg.mozilla.org/projects/nss/rev/92e62d0731bd
Comment 13•6 years ago
|
||
Was just in a meeting with some Anti-virus folks (on another issue) and they mentioned that they enable this to help them to do traffic interception. So that's probably why we're seeing this in release builds.
Updated•6 years ago
|
Assignee | ||
Comment 14•5 years ago
|
||
Update the keylog gtest to avoid a stack overflow if the labels map is empty,
as happens on opt asan builds
Assignee | ||
Comment 15•5 years ago
|
||
Build-script updates re-landed in 3.45 and in NSS_3_44_BRANCH, to go along with any point releases we make there.
default: https://hg.mozilla.org/projects/nss/rev/4a08af60c2b7b4d8c69a936bd95dc83f50dcc7e2
NSS_3_44_BRANCH: https://hg.mozilla.org/projects/nss/rev/21fdbf4c1c44324116a9dd51b5c675ebcf5fffcc
The tests which were backed out in 92e62d0731bd6ce961359b4c438448f2cf548bf2 will be a separate commit.
Furthermore, since the crash fix is released, this bug can probably be made public, which I will plan to do tomorrow unless I hear dissent.
Updated•5 years ago
|
Assignee | ||
Comment 16•5 years ago
|
||
- Don't always build ssl_keylog_unittest.cc in Makefile builds
Assignee | ||
Comment 17•5 years ago
|
||
Fixup: https://hg.mozilla.org/projects/nss/rev/6f442f3ba2239b857c8fd540468f9f83c84b7c0b
(Due to test failures, the NSS_3_44_BRANCH commit in Comment 15 was not landed.)
Assignee | ||
Comment 18•5 years ago
|
||
Backs out backout 92e62d0731bd6ce961359b4c438448f2cf548bf2
Note: Some parts were included in rev 6f442f3ba2239b857c8fd540468f9f83c84b7c0b
original phab link: https://phabricator.services.mozilla.com/D17380
Assignee | ||
Comment 19•5 years ago
|
||
New tests: https://hg.mozilla.org/projects/nss/rev/43a7fb4f994a31222c308113b0fccdd5480d5b8e
I'll back-port to 3.44 tomorrow.
Assignee | ||
Comment 20•5 years ago
|
||
Assignee | ||
Comment 21•5 years ago
|
||
This bug was fixed in Firefox 66 and should have been left as Resolved (comment 12) at that point, with the test failures handled in a different patch. Per also Comment 15, making this public, marking 66 as fixed, resolving it, and the final test cleanup patch (and the backports) can land in the clear.
Assignee | ||
Comment 22•5 years ago
|
||
Assignee | ||
Comment 23•5 years ago
|
||
Description
•