feathersjs-ecosystem/feathers-sequelize · Security
Feather-Sequelize cleanQuery method vulnerable to Prototype Pollution
- GHSA ID
- GHSA-p5m3-27vh-52j4
- CVE ID
- CVE-2022-29823
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
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 ↗