CVE Catalog

CVE-2021-48012

HighCVSS 8.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.41%

34th percentile - higher than 34% of all known CVEs

Summary

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.

Risk Assessment

The risk includes prototype pollution, potentially leading to denial of service or authorization bypass in the application.

Recommendation

It is recommended to update to a version newer than 0.5.4 and implement key validation to prevent prototype pollution.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS