Update matrix-js-sdk to v34.11.0
Categories
(Chat Core :: Matrix, task)
Tracking
(thunderbird_esr128 fixed, thunderbird133 affected, thunderbird134 fixed)
People
(Reporter: clokep, Assigned: freaktechnik)
Details
(Keywords: sec-moderate)
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
1.73 MB,
patch
|
corey
:
approval-comm-esr128+
|
Details | Diff | Splinter Review |
Disclosed today:
We are notifying you of a planned security release of matrix-js-sdk, scheduled for 2024-11-12 to address a Moderate (MATRIXSEC-2021-1083, CVE-2024-50336) severity issue. The fixes will be released in matrix-js-sdk 34.11.0.
Not sure what it will be or if we’ll be affected. We’re currently using v34.3.1 on Daily and v31.4.0 on ESR 128.
| Assignee | ||
Comment 1•1 year ago
|
||
Also bump dependencies
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
The vulnerability affects us for links to attachments and the URLs we use to load avatars for users and rooms. The avatars are if anything the more important vector probably, though I'd expect it to be less useful since we load them as images (so we only make a flat GET request).
Pushed by martin@humanoids.be:
https://hg.mozilla.org/comm-central/rev/9b5b6cefd84e
Update matrix-js-sdk to v34.11.1. r=clokep
| Assignee | ||
Updated•1 year ago
|
Comment 4•1 year ago
|
||
It sounds like we'll need a CVE for Thunderbird. I'm happy to help put that together once we have enough details. Would it be sec-moderate in line with CVE-2024-50336?
| Reporter | ||
Comment 5•1 year ago
|
||
(In reply to Corey Bryant from comment #4)
It sounds like we'll need a CVE for Thunderbird.
I think we reuse CVE numbers for libraries.
I think sec-moderate sounds correct.
We need to figure out if we want to back port this somehow, options might be to back port the full update or to try to patch the js-sdk on ESR with just the security fix, or stop calling the affected function on EST. I don’t think we’ve usually backported patches of dependencies before, but doesn’t sound too bad in this case.
Martin — any opinions as the person who did the initial patch?
| Reporter | ||
Updated•1 year ago
|
| Assignee | ||
Comment 6•1 year ago
|
||
I agree, moderate sounds appropriate.
In regards to uplifting to ESR, I think uplifting the individual matrix updates should be doable fairly cleanly. There haven't been changes in the chat code for matrix apart from the updates as far as I remember.
I'm not very keen on applying custom patches on a vendored library unless there's no other way. Doing that would also make future uplifts harder.
| Reporter | ||
Comment 7•1 year ago
|
||
I've checked and revisions 24b12914ba96, 9ae3d2c5a217, 887b910190f5, and 9b5b6cefd84e apply cleanly to comm-esr128. I've uploaded a (single) patch which cats those patches together for uplift.
[Approval Request Comment]
Regression caused by (bug #): N/A
User impact if declined: Potential security impact on comm-esr128
Testing completed (on c-c, etc.): These patches have all landed on comm-central
Risk to taking this patch (and alternatives if risky): Potential security impact on comm-esr128
Note that I don't have a comm-esr128 environment setup right now so I wasn't able to test this locally.
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Patrick, We could target 128.5.2esr for this (Dec 10). Do you plan to do any testing?
Comment 9•1 year ago
|
||
Comment on attachment 9440063 [details] [diff] [review]
v33.1.0-v34.3.0-v34.3.1-v34.11.1.patch
[Triage Comment]
Approved for esr128
Comment 10•1 year ago
|
||
| uplift | ||
Thunderbird 128.5.2esr:
https://hg.mozilla.org/releases/comm-esr128/rev/c1ab83f1aa52
| Reporter | ||
Comment 11•1 year ago
|
||
We chatted about this over Matrix and 128.5.2esr sounded good. Thank you for taking care of this!
Updated•1 year ago
|
Updated•1 year ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Description
•