Skip to content

security: fix 42 vulnerabilities via dependency updates#1281

Open
DeepakNemad wants to merge 1 commit intomainfrom
fix/vulnerabilities
Open

security: fix 42 vulnerabilities via dependency updates#1281
DeepakNemad wants to merge 1 commit intomainfrom
fix/vulnerabilities

Conversation

@DeepakNemad
Copy link
Copy Markdown

What:

  • Update axios to 1.13.5, next to 15.5.14, next-auth to 4.24.12, node-forge to 1.4.0
  • Add pnpm overrides for transitive dependencies (ajv, flatted, minimatch, etc.)
  • Resolve 1 CRITICAL, 25 HIGH, 14 MEDIUM, 2 LOW severity CVEs
  • Maintain build compatibility and functionality

Why overrides were needed:

  1. Transitive dependencies: When you install axios, it brings its own dependencies like form-data, minimatch, etc. Even if you update axios, it might still use vulnerable versions of these sub-
    dependencies.

  2. Version conflicts: Different packages might require different versions of the same dependency, and npm/pnpm chooses versions that satisfy all requirements, which might not be the secure ones.

The duplication exists because:

  • "overrides" - Standard npm/yarn override format for compatibility
  • "pnpm.overrides" - PNPM-specific override format that takes precedence

What it does:

  • Forces all packages in your dependency tree to use the secure versions I specified, regardless of what version they originally requested.

- Update axios to 1.13.5, next to 15.5.14, next-auth to 4.24.12, node-forge to 1.4.0
- Add pnpm overrides for transitive dependencies (ajv, flatted, minimatch, etc.)
- Resolve 1 CRITICAL, 25 HIGH, 14 MEDIUM, 2 LOW severity CVEs
- Maintain build compatibility and functionality

Signed-off-by: DeepakNemad <deepak.nemade@ayanworks.com>
@DeepakNemad DeepakNemad self-assigned this Apr 1, 2026
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.

2 participants