Phun-ky defaults-deep
@phun-ky/defaults-deep Has a Prototype Pollution issue via Unsafe Recursive Property Merging
@phun-ky/defaults-deep is a library like lodash defaultsDeep with array preservation and no lodash dependency. Prior to 2.0.5, defaultsDeep() recursively merges user-supplied objects without filtering proto, constructor, and prototype, allowing properties to be written to Object.prototype. This issue is fixed in version 2.0.5.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by CNA · CWE-1321
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
phun-ky defaults-deep
- < 2.0.5
Fixed in 2.0.5
Mitigation
Upgrade defaults-deep to 2.0.5 or later.
References
- Vendor advisory github.com/phun-ky/defaults-deep/security/advi…
- Patch github.com/phun-ky/defaults-deep/pull/49
- Patch github.com/phun-ky/defaults-deep/commit/807dba…
1 more
- Release notes github.com/phun-ky/defaults-deep/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.