Skip to content

fix: dependencies security audit #263

Description

@audrzejq

Run pnpm audit --audit-level moderate --prod
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ critical │ Auth.js: Configuration errors can cause │
│ │ existence-based auth checks to fail open (auth object │
│ │ populated with an error) │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package │ next-auth │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=5.0.0-beta.0 <=5.0.0-beta.31 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions │ >=5.0.0-beta.32 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths │ examples__chatbot-gateway-with-billing-polar- │
│ │ advanced>next-auth │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info │ GHSA-8fpg-xm3f-6cx3
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ critical │ Auth.js: Email normalizer validates the address before │
│ │ Unicode normalization, allowing a homoglyph @ bypass │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package │ next-auth │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=5.0.0-beta.1 <=5.0.0-beta.31 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions │ >=5.0.0-beta.32 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths │ examples__chatbot-gateway-with-billing-polar- │
│ │ advanced>next-auth │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info │ GHSA-7rqj-j65f-68wh
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ critical │ Auth.js: Email normalizer validates the address before │
│ │ Unicode normalization, allowing a homoglyph @ bypass │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package │ @auth/core │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=0.1.0 <0.41.3 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions │ >=0.41.3 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths │ examples__chatbot-gateway-with-billing-polar- │
│ │ advanced>next-auth>@auth/core │
├─────────────────────┼────────────────────────────────────────────────────────┤
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate │ Auth.js: OAuth state, nonce, and PKCE check cookies │
│ │ are not bound to the provider that created them │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package │ next-auth │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=5.0.0-beta.1 <=5.0.0-beta.31 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions │ >=5.0.0-beta.32 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths │ examples__chatbot-gateway-with-billing-polar- │
│ │ advanced>next-auth │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info │ GHSA-x445-f3h2-j279
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate │ Auth.js: OAuth state, nonce, and PKCE check cookies │
│ │ are not bound to the provider that created them │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package │ @auth/core │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <=0.41.2 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions │ >=0.41.3 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths │ examples__chatbot-gateway-with-billing-polar- │
│ │ advanced>next-auth>@auth/core │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info │ GHSA-x445-f3h2-j279
└─────────────────────┴────────────────────────────────────────────────────────┘
30 vulnerabilities found
Severity: 2 low | 13 moderate | 12 high | 3 critical
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions