CVE-2021-25946 json
Prototype pollution in nconf-toml
published 2021-05-25 5 y ago modified 2026-06-17 4 mo ago also GHSA-hx7j-43w2-7rj7 , EUVD-2021-1338
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
Prototype pollution vulnerability in `nconf-toml` versions 0.0.1 through 0.0.2 allows an attacker to cause a denial of service and may lead to remote code execution.
Exploit prediction
3.30% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- whitesourcesoftware.com https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25946 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/RobLoach/nconf-toml/blob/8ade08cd1cfb9691ab7cc5c3514cc05c5085918f/index.js#L8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | nconf-toml | >=0.0.1, <=0.0.2 |
no fix listed |
Affected products
- n/a nconf-toml
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
whitesourcesoftware.com
/vulnerability-database/CVE-2021-25946
web, exploit, third-party-advisory
-
github.com
/RobLoach/nconf-toml/blob/8ade08cd1cfb9691ab7cc5c3514cc05c5085918f/index.js#L8
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-25946
advisory
-
github.com
/RobLoach/nconf-toml
package
Sources
- CVE List CVE-2021-25946
- GitHub Advisory GHSA-hx7j-43w2-7rj7
- NVD CVE-2021-25946
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.