Skip to content

nodejs distributions are not affected the same way by security releases #1187

Closed

Description

@kapouer

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...

Activity

  1. DanielRuf commented on Mar 14, 2022

    @DanielRuf

    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:

    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.

  2. mhdawson commented on Mar 14, 2022

    @mhdawson
    Member

    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.

  3. mcollina commented on Mar 14, 2022

    @mcollina
    SponsorMember

    I'm +1 to add such a disclaimer. It seemed obvious to me but likely it's not for most devs.

  4. mhdawson commented on Mar 14, 2022

    @mhdawson
    Member

    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?

  5. richardlau commented on Mar 14, 2022

    @richardlau
    Member

    No concerns from me, although I think Homebrew might also be dynamically linking openssl so it's not just Linux distributions.

  6. ljharb commented on Mar 14, 2022

    @ljharb
    SponsorMember

    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.

  7. mhdawson commented on Mar 23, 2022

    @mhdawson
    Member

    Discussion in TSC meeting, might want to say that you may need to update your openssl instead.

  8. ChALkeR commented on Mar 23, 2022

    @ChALkeR
    Member
    1. 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.

    2. 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?

  9. mhdawson commented on Mar 23, 2022

    @mhdawson
    Member

    @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.

  10. ChALkeR commented on Mar 23, 2022

    @ChALkeR
    Member

    @mhdawson s/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.

  11. mhdawson commented on Mar 24, 2022

    @mhdawson
    Member

    @ChALkeR looks good to me.

  12. mhdawson commented on Mar 24, 2022

    @mhdawson
    Member

    I'll open a PR to add that and we can have any additional discussion/concerns raised there.

  13. mhdawson commented on Mar 24, 2022

    @mhdawson
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions