Description
@rvf/set-get before 7.0.4 contains a prototype pollution vulnerability in setPath that allows unauthenticated attackers to overwrite properties of shared built-in functions via inherited Object.prototype methods. Attackers can submit a form field named hasOwnProperty.call through @rvf/core form parsing to replace the shared function property, causing process-wide denial of service until restart.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| airjp73 | @rvf/set-get | < 7.0.4 | 7.0.4 |
References
- https://github.com/airjp73/rvf/commit/4a5e118667549ac41f065b4cfa80b995841c3811 patch
- https://github.com/airjp73/rvf/blob/61172ff01bf1250893108e5c80f35b5ac0388ecb/packages/set-get/src/setPath.ts technical-description
- https://github.com/airjp73/rvf/blob/61172ff01bf1250893108e5c80f35b5ac0388ecb/packages/core/src/native-form-data/flatten.ts technical-description
- VulnCheck Advisory: @rvf/set-get before 7.0.4 Prototype Pollution via setPath Inherited Methods third-party-advisory