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

Security issue in get endpoints #1659

Closed
ludtkemorgan opened this issue Jul 29, 2024 · 0 comments
Closed

Security issue in get endpoints #1659

ludtkemorgan opened this issue Jul 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ludtkemorgan
Copy link
Collaborator

Our get endpoints that are expecting a UUID does not do any verification on the inputted string until it gets to the DB layer. This could potentially cause a security issue if someone inputs a value with the purpose of doing an sql injection

I believe this vulnerability is better protected in the prisma backend so will be resolved with updating the backend but in the meantime we should add extra protection on the controller level. For example we should verify the input is in fact a UUID before sending it to the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Closed
Status: Triage
Development

No branches or pull requests

1 participant