GHSA-4q55-j62x-fr9h devalue: Malformed null-prototype object keys bypass __proto__ rejection via property-key coercion
MediumCVSS 6.3
- Published
- Updated
- Exploit status
- No public exploit known
Description
This is another instance of https://github.com/sveltejs/devalue/security/advisories/GHSA-mwv9-gp5h-frr4, where some payloads could cause parse to create objects with a __proto__ own property. This on its own is not enough to cause prototype pollution, and indeed this is actually how JSON.parse works, but we decided to be a little more defensive here and not allow the creation of objects with __proto__ own-properties. It is very unlikely for this to cause any issues.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm devalue(npm) | <= 5.9.2 | after 5.9.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm devalue(npm) | <= 5.9.2 | No fix listed |
References
- github.com vendor-advisory
- github.com patch
- github.com
- github.com