Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depending on vulnerable Prisma version #117

Open
sizuf opened this issue Dec 4, 2024 · 1 comment
Open

Depending on vulnerable Prisma version #117

sizuf opened this issue Dec 4, 2024 · 1 comment

Comments

@sizuf
Copy link

sizuf commented Dec 4, 2024

Apparently, the project depends on a vulnerable version of prisma/internals (5.3.1). This vulnerability is related to a Regular Expression Denial of Service (ReDoS) in cross-spawn.

I suggest updating to Prisma 6.0. However, my concern is whether the breaking changes in this upgrade will have any impact on this library.

@kfranqueiro
Copy link

kfranqueiro commented Dec 6, 2024

The minimum change necessary is to upgrade both @prisma/generator-helper and @prisma/internals to 5.7.0, which may be less risky.

This can be worked around with overrides. e.g. for npm:

  "overrides": {
    "@prisma/generator-helper": "5.7.0",
    "@prisma/internals": "5.7.0"
  }

Also, this is a duplicate of #96

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

No branches or pull requests

2 participants