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() repeatedly slices and rejoins every path prefix in lib/compiler.js while processing long dotted keys, table headers, array-of-tables headers, and inline-table keys in assign(), deepRef(), and setNestedKey(). The resulting quadratic work can block the Node.js event loop for several seconds, and sufficiently long paths can terminate the process through memory exhaustion. The maxDepth option does not limit key-segment count and therefore does not mitigate this path. 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-9j65-hcg3-gc…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning