FIPS-mode crashes neqo
Categories
(Core :: Networking: HTTP, defect, P2)
Tracking
()
People
(Reporter: dragana, Assigned: dragana)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr91+
|
Details | Review |
SUSE is currently having the following problem with FF91esr: When run in FIPS-mode, Firefox crashes in neqo.
As it turns out the call to hkdf::import_key(TLS_VERSION_1_3, cipher, salt) in new_initial() in third_party/rust/neqo-transport/src/crypto.rs fails, because it tries to create a key from raw key material, which is apparently not allowed in FIPS-mode.
| Assignee | ||
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
[Tracking Requested - why for this release]: This patch is only needed for esr91. see the description.
| Assignee | ||
Comment 4•4 years ago
|
||
Comment on attachment 9245438 [details]
Use PK11_ImportDataKey for FIPS safety
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: SUSE is currently having the following problem with FF91esr: When run in FIPS-mode, Firefox crashes in neqo.
- User impact if declined:
- Fix Landed on Version: 93
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky):
- String or UUID changes made by this patch:
| Assignee | ||
Comment 5•4 years ago
|
||
Martin, can you please add some text about the risk for this uplift (see comment 4). I am not familiar with nss well enough to write this. Thanks.
Comment 6•4 years ago
|
||
Risks: This change swaps out the use of one API for an equivalent function that doesn't crash when FIPS is enabled. This is a small amount of changed code, but the functions that are being used are extremely widely used (we use this API for every TLS connection) and the code around this is very thoroughly tested.
Comment 7•4 years ago
|
||
Please link this bug to the Neqo update bug containing this fix for m-c as well.
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Comment on attachment 9245438 [details]
Use PK11_ImportDataKey for FIPS safety
Approved for 91.3esr.
Comment 9•4 years ago
|
||
| bugherder uplift | ||
| Assignee | ||
Comment 10•4 years ago
|
||
The fix landed in m.c. in bug 1733603.
Updated•4 years ago
|
Updated•4 years ago
|
Description
•