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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gin-Quin | fast-toml | ≤ 0.5.4 | — |
References
- GitHub Issue #8 issue-tracking
- GitHub Pull Request #3 issue-tracking patch
- https://github.com/Gin-Quin/fast-toml product
- VulnCheck Advisory: fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML third-party-advisory