Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
- Snyk ID SNYK-JS-STRAPIDATABASE-5805288
- published 26 Jul 2023
- disclosed 26 Jul 2023
- credit Boegie19
How to fix?
@strapi/database to version 4.10.8 or higher.
@strapi/database is a Strapi's database layer
Affected versions of this package are vulnerable to Information Exposure such that it is possible to leak private fields if one is using the
t(number) prefix. Knex query allows users to change the default prefix. For example, if someone changes the prefix to be the same as it was before or to another table they want to query, the query changes from
password is protected by filtering protections but
t1.password is not protected.
This can lead to filtering attacks on everything related to the object, including admin passwords and reset-tokens.