@tensei/rest denial of service via prototype pollution in sort parameter
tenseijs @tensei/rest
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tenseijs @tensei/rest |
| No fix yet |
Original description
Tensei through 0.11.5 contains a prototype pollution vulnerability in parseSortFromStringToObject of @tensei/rest that allows unauthenticated attackers to set Object.prototype properties via the sort parameter. Attackers can send a sort value like __proto__.<name>:<value> to list, fetch-one, update or delete routes before authorization, altering application logic and causing denial of service.
From the CVE record · VulnCheck