Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2021-48012

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Gin-Quin fast-toml

Default version status: unaffected

  • 0 to ≤ 0.5.4affected
pkg:npm/fast-toml

References