Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/Gin-Quin/fast-toml
- https://github.com/Gin-Quin/fast-toml/issues/8
- https://github.com/Gin-Quin/fast-toml/pull/3
- https://www.vulncheck.com/advisories/fast-toml-through-0.5.4-prototype-pollution
FAQ
What is CVE-2021-48012?
CVE-2021-48012 is a vulnerability with a CVSS score of 8.2 (HIGH). 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. Att...
How severe is CVE-2021-48012?
CVE-2021-48012 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-48012?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.