A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, toml.parse() can write attacker-controlled properties to Object.prototype because quoteDottedString() in lib/compiler.js produces the same bookkeeping string for distinct quoted key paths, allowing addTableArray() to clear another key's guard. The assign() path then descends through an unowned Date value without applying the owned-container check and can reach the prototype chain. Objects created elsewhere in the process can inherit the injected property. This issue is fixed in version 5.0.1.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed…
- github.com /BinaryMuse/toml-node/releases/tag/v5.0.1
- github.com /BinaryMuse/toml-node/security/advisories/GHSA-h895-cgqg-jf…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning