You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nodejs distributions are not affected the same way by security releases #1187
Hi,
as an example, in Debian we have Node.js depending on system-installed OpenSSL,
thus security issues affecting that dependency are, most of the time, dealt with in the corresponding dependency, not in Node.js.
Thus a sentence like "if you're using a Node.js version not distributed by official upstream channel, this security issue might not concern you, please check with their security team", etc...
I'm not sure I fully understand what you mean. Do you mean an improvement for security release notes? Isn't this handled by the release WG? What is the current sentence like and where can we see it?
Define the policy for what gets backported to release streams.
Sure, most distros and the package maintainers there who package the software for the target distros most often recompile, repackage and backport upstream fixes.
That is true for RHEL distributions as well. I'm going to move this into the TSC repo for discussion to see what we might be willing to add to the pre-release announce. The pre-announce is handled by the security stewards and I think we'd want the TSC to be aware if we are going to start adding a disclaimer like that.
If you're using a Node.js version which is part of a linux distribution which uses a system installed OpenSSL, this security upate might not concern you, please check with their security team
to the pre-announce for any OpenSSL only security releases?
Considering (i believe) node isn't officially distributed anywhere without openssl, adding such a message seems "fine", but also seems like the sort of thing users sign up for when they choose to use an unofficial installation mechanism.
Perhaps the text should be changed to include a reminder to update OpenSSL if needed, as the current one suggests that user might not to have to anything at all. And they likely should update OpenSSL for the security update.
I have concerns with adding this "by default" as this could lead to accidentally adding it in case where it is not applicable, e.g. where there could be other changes included. Forgetting it won't cause much damage (as would just keep the current state of things), and accidentally adding it where it's not applicable could significantly break the trust chain and result in rush updates and/or security issues for users.
So, perhaps we should decide on the text, and add this as a suggested wording for those cases when we are totally sure there won't be any other changes except for the deps update, but leave it at the releaser judgment on whether to include it or not, without specifically suggesting to do that "by default". It won't hurt much if this will be missing in some announcements.
cc @MylesBorins@BethGriggs (as is related to what has been discussed on the meeting) -- does that sound good?
@ChALkeR so maybe adding the following in the security release process in this section under the Pre-release announcement to node.js org blog, add the following additional text.
If the security release is planned to only contain an OpenSSL update consider adding the following to the pre-release announcement:
Since this security release will only includes updates for OpenSSL, if you're using a Node.js version which is part of a linux distribution which uses a system installed OpenSSL, this security update might not concern you. You may instead need to update your system OpenSSL libraries, please check the security announcements for the distribution.
@mhdawsons/is planned to/will/ perhaps (and minor fixes):
If the security release will only contain an OpenSSL update consider adding the following to the pre-release announcement:
Since this security release will only include updates for OpenSSL, if you're using a Node.js version which is part of a Linux distribution which uses a system installed OpenSSL, this Node.js security update might not concern you. You may instead need to update your system OpenSSL libraries, please check the security announcements for the distribution.
Reacted by Jérémy Lal, Beth Griggs, Matteo Collina and Daniel Ruf
Activity
DanielRuf commentedon Mar 14, 2022
Hi @kapouer,
I'm not sure I fully understand what you mean. Do you mean an improvement for security release notes? Isn't this handled by the release WG? What is the current sentence like and where can we see it?
https://github.com/nodejs/release
They also define what gets backported:
Sure, most distros and the package maintainers there who package the software for the target distros most often recompile, repackage and backport upstream fixes.
mhdawson commentedon Mar 14, 2022
That is true for RHEL distributions as well. I'm going to move this into the TSC repo for discussion to see what we might be willing to add to the pre-release announce. The pre-announce is handled by the security stewards and I think we'd want the TSC to be aware if we are going to start adding a disclaimer like that.
mcollina commentedon Mar 14, 2022
I'm +1 to add such a disclaimer. It seemed obvious to me but likely it's not for most devs.
mhdawson commentedon Mar 14, 2022
TSC Question:
Any concerns with by default adding
If you're using a Node.js version which is part of a linux distribution which uses a system installed OpenSSL, this security upate might not concern you, please check with their security team
to the pre-announce for any OpenSSL only security releases?
richardlau commentedon Mar 14, 2022
No concerns from me, although I think Homebrew might also be dynamically linking openssl so it's not just Linux distributions.
ljharb commentedon Mar 14, 2022
Considering (i believe) node isn't officially distributed anywhere without openssl, adding such a message seems "fine", but also seems like the sort of thing users sign up for when they choose to use an unofficial installation mechanism.
mhdawson commentedon Mar 23, 2022
Discussion in TSC meeting, might want to say that you may need to update your openssl instead.
ChALkeR commentedon Mar 23, 2022
Perhaps the text should be changed to include a reminder to update OpenSSL if needed, as the current one suggests that user might not to have to anything at all. And they likely should update OpenSSL for the security update.
I have concerns with adding this "by default" as this could lead to accidentally adding it in case where it is not applicable, e.g. where there could be other changes included. Forgetting it won't cause much damage (as would just keep the current state of things), and accidentally adding it where it's not applicable could significantly break the trust chain and result in rush updates and/or security issues for users.
So, perhaps we should decide on the text, and add this as a suggested wording for those cases when we are totally sure there won't be any other changes except for the deps update, but leave it at the releaser judgment on whether to include it or not, without specifically suggesting to do that "by default". It won't hurt much if this will be missing in some announcements.
cc @MylesBorins @BethGriggs (as is related to what has been discussed on the meeting) -- does that sound good?
mhdawson commentedon Mar 23, 2022
@ChALkeR so maybe adding the following in the security release process in this section under the Pre-release announcement to node.js org blog, add the following additional text.
If the security release is planned to only contain an OpenSSL update consider adding the following to the pre-release announcement:
Since this security release will only includes updates for OpenSSL, if you're using a Node.js version which is part of a linux distribution which uses a system installed OpenSSL, this security update might not concern you. You may instead need to update your system OpenSSL libraries, please check the security announcements for the distribution.
ChALkeR commentedon Mar 23, 2022
@mhdawson
s/is planned to/will/perhaps (and minor fixes):mhdawson commentedon Mar 24, 2022
@ChALkeR looks good to me.
mhdawson commentedon Mar 24, 2022
I'll open a PR to add that and we can have any additional discussion/concerns raised there.
doc: add suggestion for OpenSSL only sec releases
mhdawson commentedon Mar 24, 2022
PR - nodejs/node#42456
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases
doc: add suggestion for OpenSSL only sec releases