Feather-Sequelize cleanQuery method uses insecure recursive logic to filter unsupported keys from the query object. This results in a Remote Code Execution (RCE) with privileges of application.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-29823
- https://csirt.divd.nl/cases/DIVD-2022-00020
- https://csirt.divd.nl/cves/CVE-2022-29823/
- https://github.com/feathersjs-ecosystem/feathers-sequelize/commit/0b7beaa773dc313fdb27edd9ee8115064d7cf114
- https://csirt.divd.nl/CVE-2022-29823/
- https://csirt.divd.nl/DIVD-2022-00020
- https://github.com/advisories/GHSA-p5m3-27vh-52j4