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

Update dependencies #735

Merged
merged 3 commits into from
Jan 20, 2023
Merged

Update dependencies #735

merged 3 commits into from
Jan 20, 2023

Conversation

ktuite
Copy link
Member

@ktuite ktuite commented Jan 20, 2023

Closes #684

I think this addresses the main npm audit / dependabot issues, except for one in knex.

I've looked into the knex issue a bit more. It would be a big jump for us (0.21 to 2.4.1) and it looks like one of the changes is how many select and insert/returning queries now return dicts instead of values, e.g., {id: 1} instead of 1, which would affect many of our migrations. We also don't have a great way to find where this change is necessary and test all the migrations.

The vulnerability itself is around the WHERE clause, and this page shows an example exploit where request data is used in a where clause. We're not using knex with request data, and our where clauses in the migrations are also pretty locked down (they tend to be ids or hardcoded strings) so I think this vulnerability has minimal impact on us.

What has been done to verify that this works as intended?

Tests still pass, npm audit complains less.

Before submitting this PR, please make sure you have:

  • run make test-full and confirmed all checks still pass OR confirm CircleCI build passes

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.

Update dependencies for v2023.1
2 participants