GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [BUG] Back-port to v6 the fix for Regular Expression Denial of Service · Issue #577 · npm/node-semver

[BUG] Back-port to v6 the fix for Regular Expression Denial of Service #577

New issue
Copy link
New issue
Copy link
Closed
Closed
[BUG] Back-port to v6 the fix for Regular Expression Denial of Service#577
Copy link
Labels
Bugthing that needs fixingNeeds Triageneeds an initial review

Description

@joshuanapoli
joshuanapoli
opened on Jun 26, 2023
Issue body actions

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

  • Current versions of babel depend on semver@^6.3.0. This version has "Vulnerable to Regular Expression Denial of Service " CVE-2022-25883.
  • The babel team does not want to upgrade to the fixed version semver@^7.5.2, because it would be a breaking change (see [Bug]: [Security][helper-compilation-targets] Dependency semver version has vulnerability babel/babel#15720).
  • The babel team asserts that the "vulnerability" isn't relevant to babel. Unfortunately, this still leaves a burden on all dependent projects to analyze the situation. Is "ReDOS" relevant to me? Am I using vulnerable "semver" outside of babel? These aren't necessarily easy to answer.

Expected Behavior

Would you mind back-porting ReDOS fix to version 6? :-)

Steps To Reproduce

In a project that depends on babel v7:

  • npm audit shows a CVE-2022-25883 vulnerability because of semver
  • GitHub Security Alerts also show the vulnerability because of semver

Environment

N/A

Activity

  1. joshuanapoli
    added
    Bugthing that needs fixing
    Needs Triageneeds an initial review
    on Jun 26, 2023
  2. wraithgar commented on Jun 26, 2023

    @wraithgar
    wraithgar
    on Jun 26, 2023
    Contributor
    More actions

    Please see the discussion in #564

    Duplicate of #576

  3. wraithgar
    closed this as completedon Jun 26, 2023
  4. stocaaro commented on Jun 26, 2023

    @stocaaro
    stocaaro
    on Jun 26, 2023
    More actions

    Where is the open issue tracking the release of the backport work proposed by @joaomoreno on #564?

    I understand that there is no process for this (as described on this issue #576 (comment)), but this seems like the right solution to fix this issue for the >46% of semver users who still depend on v5 and v6 via deep dependency trees.

    Reacted by Amber G., Chris and Damon Jablons
    Reacted by Jeff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds an initial review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.