CVE-2021-48012
highfast-toml through 0.5.4 contains a prototype pollution vulnerability that allows attackers to modify Object.prototype by supplying TOML containing __proto__, c…
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/Gin-Quin/fast-toml disclosure@vulncheck.com
- https://github.com/Gin-Quin/fast-toml/issues/8 disclosure@vulncheck.com
- https://github.com/Gin-Quin/fast-toml/pull/3 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/fast-toml-through-0.5.4-prototype-pollution-via-proto... disclosure@vulncheck.com
