CVE-2021-48012
JSON

8.8high

fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML

Severity
8.8high CVSS:4.0 by VulnCheck
Exploit likelihood
0.58% (higher than 42% of CVEs)
Published
Last changed
Assigned by
VulnCheck

Description

fast-toml through 0.5.4 contains a prototype pollution vulnerability that allows attackers to modify Object.prototype by supplying TOML containing __proto__, constructor or prototype key segments. Attackers can pass [__proto__] or [constructor.prototype] table headers or __proto__.x dotted keys to parse() to pollute all objects, causing denial of service or authorization bypass.

Affected

Product or packageVersionsReported by
Gin-Quin fast-tomlup to 0.5.4CVE List

All scores

VulnCheck8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
VulnCheck8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

Classification

CWE-1321

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-48012 changed 2026-10-26CVE Terms of Use
NVDCVE-2021-48012 changed 2026-10-26Public domain