nconf through 1.0.0-beta.2 Prototype Pollution via Memory#merge
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| indexzeronconf |
≤ 1.0.0-beta.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
nconf through 1.0.0-beta.2 contains a prototype pollution vulnerability in the Memory store merge() function in lib/nconf/stores/memory.js that lacks proto key rejection. Attackers controlling merge keys like 'proto:isAdmin' or nested proto properties can inject properties into Object.prototype, altering application logic or causing errors.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- report github.com
- web github.com
- web github.com
- web npmjs.com