Skip to content

fix: upgrade nth-check to 2.0.1 (CVE-2021-3803) - #3081

Open
anupamme wants to merge 1 commit into
projectcaluma:mainfrom
anupamme:fix-repo-ember-caluma-cve-2021-3803-nth-check
Open

fix: upgrade nth-check to 2.0.1 (CVE-2021-3803)#3081
anupamme wants to merge 1 commit into
projectcaluma:mainfrom
anupamme:fix-repo-ember-caluma-cve-2021-3803-nth-check

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Upgrade nth-check from 1.0.2 to 2.0.1 to fix CVE-2021-3803.

Vulnerability

Field Value
ID CVE-2021-3803
Severity HIGH
Scanner trivy
Rule CVE-2021-3803
File pnpm-lock.yaml (dependency: nth-check)
Assessment Present in dependency tree, not confirmed reachable

Description: nodejs-nth-check: inefficient regular expression complexity

Evidence

Scanner confirmation: trivy rule CVE-2021-3803 flagged this pattern.

Changes

  • package.json
  • pnpm-lock.yaml

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant