Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #11647
Closed
Open
Issue created Nov 12, 2021 by Administrator@rootContributor

nth-check vulnerability found in react-scripts@4.0.3

Created by: sandeepraina-lenze

Hi,

I have a dashboard developed in reactjs and from last few days my github has started to display a vulnerability issue in react-scripts@4.0.3 for nth-check dependency.

react-scripts@4.0.3 uses nth-check v1.0.2 where as to resolve the vulnerability issue the recommended version is 2.1.0 or higher.

Remediation
Upgrade nth-check to version 2.0.1 or later. For example:

"dependencies": {
  "nth-check": ">=2.0.1"
}
or…
"devDependencies": {
  "nth-check": ">=2.0.1"
}
CVE-2021-3803
moderate severity
Vulnerable versions: < 2.0.1
Patched version: 2.0.1
nth-check is vulnerable to Inefficient Regular Expression Complexity
Dependabot cannot update nth-check to a non-vulnerable version
The latest possible version that can be installed is 1.0.2 because of the following conflicting dependency:

react-scripts@4.0.3 requires nth-check@^1.0.2 via a transitive dependency on css-select@2.1.0
The earliest fixed version is 2.0.1.

Thanks and Regards, Sandeep

Assignee
Assign to
Time tracking