toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| BinaryMuse | toml-node | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Binarymuse | Toml-node |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4qx8-w7c3-pj3p | toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse() |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.473% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-1322 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Binarymuse
Binarymuse toml-node |
|
| Vendors & Products |
Binarymuse
Binarymuse toml-node |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, the toml.parse() compiler's addTableArray() function in lib/compiler.js rescans the complete assignedPaths and valueAssignments bookkeeping sets for every array-of-tables header. Distinct [[name]] paths are not pruned, so a document with many such headers causes quadratic synchronous work and can block the Node.js event loop, denying service to other operations in the process. This issue is fixed in version 5.0.1. | |
| Title | toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse() | |
| Weaknesses | CWE-407 | |
| References |
| |
| Metrics |
cvssV4_0
|